You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
riftEmber
changed the title
disallow return statements, except at the end or where they can be rewritten to be at the end
disallow return statements, except when they can be rewritten out
Nov 2, 2020
I suppose that a single return statement should be allowed at the end of a function.
riftEmber
changed the title
disallow return statements, except when they can be rewritten out
Disallow mid-function return statements, except when they can be rewritten out
Oct 24, 2021
Work done for #37 disallows return statements that are inside any nesting, and disallows any statements to follow a return statement. This effectively implements the restrictions of this issue, except for the rewriting. Rewriting is a separate problem which this issue will now be about.
riftEmber
changed the title
Disallow mid-function return statements, except when they can be rewritten out
Rewrite to remove return statements where possible
Oct 26, 2021
Also, do that rewriting
The text was updated successfully, but these errors were encountered: