Euphoria Ticket #743: provide warning mechanism for ignored return values of functions

Allow the user to turn on/off warnings where there is no return variable provided for functions.
Eg:
find(needle,haystack) should warn that it should rather be
i1 = find(needle,haystack)
perhaps
with/without function_return_warning
and error message like:
Warning, function "find" in line xxx has no assignment to store the result of the function

Details

Type: Feature Request Severity: Normal Category: Error Reporting
Assigned To: unknown Status: New Reported Release: 4.0.3
Fixed in SVN #: View VCS: none Milestone:

Search



Quick Links

User menu

Not signed in.

Misc Menu