Objo.
Feedback Forum Docs Objo Studio
Feedback

Bug #1048

Function return-value warnings now explain both possible fixes

Status
Fixed
Fixed in
v26.8.1
Source discussion
-
Last updated
2026-08-04

Upvotes

0 upvotes

Uses your Objo forum account.

Public summary

Functions that declare a return type but contain no value-returning Return statement currently warn that they “could be a Sub.” The warning should explain in plain language that the function is declared to return a value but does not return one, then present both remedies: return the declared type or change the method so it has no return value.

Objo.

Build apps visually, deploy anywhere.

Feedback is a public read-only status mirror for Objo Studio.