You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "James Kleeh (JIRA)" <ji...@apache.org> on 2018/11/09 03:28:00 UTC
[jira] [Updated] (GROOVY-8872) Decompiled parameter names don't
reflect the names in the bytecode
[ https://issues.apache.org/jira/browse/GROOVY-8872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Kleeh updated GROOVY-8872:
--------------------------------
Issue Type: Improvement (was: Bug)
> Decompiled parameter names don't reflect the names in the bytecode
> ------------------------------------------------------------------
>
> Key: GROOVY-8872
> URL: https://issues.apache.org/jira/browse/GROOVY-8872
> Project: Groovy
> Issue Type: Improvement
> Components: bytecode, Compiler
> Affects Versions: 2.5.1
> Reporter: James Kleeh
> Priority: Major
> Attachments: groovy-bug.tar.gz
>
>
> org.codehaus.groovy.ast.Parameter names do not reflect what is stored in the bytecode.
> In this example project, I have 3 projects.
> api - Has a single interface that is compiled with parameters=true
> app - Has a single interface that extends the one in api and is compiled with parameters=true
> processor - Has a single ast transform that fails compilation if any method parameters start with "param"
>
> The parameter names for the interface in the api project do not reflect the bytecode when compiling the app project
>
> The runnable example is available here and I've attached it below
> https://github.com/jameskleeh/groovy-ast-bug
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)