Replies: 3 comments
-
|
This issue should be merged with the lack of The following pattern emerges quite often in some code bases: A borrowed Comparing to |
Beta Was this translation helpful? Give feedback.
-
|
Not only for returns, but basically any control flow keyword, even unreleased ones such as Note that there is already a forum post with this, marked as "To Do": |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.






Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Expression[] or returntriggers the following errorPrecedence doesn't allow "return" following "or"(3100).This is common in production code and a recurring pattern for safe access or bail out.
This a separate issues from "allow
returnin decides context" as that is a broader topic which implicates some issues with lenient evaluation, wherein this does not.Beta Was this translation helpful? Give feedback.
All reactions