Eric Milles created GROOVY-11865:
------------------------------------

             Summary: AST compilation customizer support for arry or list of 
enum values
                 Key: GROOVY-11865
                 URL: https://issues.apache.org/jira/browse/GROOVY-11865
             Project: Groovy
          Issue Type: Bug
            Reporter: Eric Milles
            Assignee: Eric Milles


Consider the following:
{code:groovy}
import groovy.transform.*
def shell = GroovyShell.withConfig {
  ast(PackageScope, value: [PackageScopeTarget.METHODS])
}
{code}

Use of this will not have the desired transform applied because the list 
processing only supports class or const values.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to