You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (Jira)" <ji...@apache.org> on 2023/12/31 18:33:00 UTC
[jira] [Created] (GROOVY-11263) Analyze dead code
Daniel Sun created GROOVY-11263:
-----------------------------------
Summary: Analyze dead code
Key: GROOVY-11263
URL: https://issues.apache.org/jira/browse/GROOVY-11263
Project: Groovy
Issue Type: Improvement
Reporter: Daniel Sun
Groovy allows dead code after {{return}}, e.g.
{code:java}
def m() {
return
def a = 1
}
{code}
It's better to avoid such dead code.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)