Community
Participate
Working Groups
This has gotten completely out of hand in M4. A missing return statement can result in error highlighting of every line of code in a method, often rendering it unreadable. This forces a style of programming where dummy return statements must be typed in just so the user can read the code. (When combined with the pernicious braces gobble next statement bug, one can spend more time working around the assistance than actually writing code.) Previous releases, too, have error highlighted the wrong code, though not so much of it. Lines preceding the missing return are not in error, nor are they where this error is detected. Please fix this by doing what you do when there are duplicate return statements: flag only the closing right brace.
*** This bug has been marked as a duplicate of 27298 ***