James Kleeh created GROOVY-8872:
-----------------------------------

             Summary: AST 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: Bug
          Components: bytecode, Compiler
    Affects Versions: 2.5.1
            Reporter: James Kleeh
         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)

Reply via email to