You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2018/11/10 10:46:00 UTC
[jira] [Resolved] (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 ]
Paul King resolved GROOVY-8872.
-------------------------------
Resolution: Fixed
Assignee: Paul King
Fix Version/s: 2.5.5
3.0.0-alpha-4
Merged. Thanks for the PR!
> 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.4
> Reporter: James Kleeh
> Assignee: Paul King
> Priority: Major
> Fix For: 3.0.0-alpha-4, 2.5.5
>
> 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)