groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GROOVY-8872) Decompiled parameter names don't reflect the names in the bytecode
Date Sat, 10 Nov 2018 10:46:00 GMT

     [ 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)

Mime
View raw message