Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
As we all know, source code is meant for developers to read, and the less redundant code there is, the more developer-friendly it becomes, but Groovy allows dead code after throw, return, break and continue, e.g.
def m() {
return
def a = 1
}
It's better to avoid such dead code.
Attachments
Issue Links
- links to