-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-languageDart language related items (some items might be better tracked at github.com/dart-lang/language).Dart language related items (some items might be better tracked at github.com/dart-lang/language).closed-not-plannedClosed as we don't intend to take action on the reported issueClosed as we don't intend to take action on the reported issuetype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
This issue was originally filed by limwei...@gmail.com
The return variable of the function should be able to be referenced in the function body, like in Visual Basic. It will start off with a value of null, and be possibly changed by the function to return a value, e.g. something like "returnset <expression>;", that is like the return statement, but does not pass back control to calling process. Even better, give the variable a fixed identifier like "_returnvalue" so that expressions or array functions can change the value, e.g. "_returnvalue++;".
Metadata
Metadata
Assignees
Labels
area-languageDart language related items (some items might be better tracked at github.com/dart-lang/language).Dart language related items (some items might be better tracked at github.com/dart-lang/language).closed-not-plannedClosed as we don't intend to take action on the reported issueClosed as we don't intend to take action on the reported issuetype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug