[ 
https://issues.apache.org/jira/browse/GROOVY-11865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Milles resolved GROOVY-11865.
----------------------------------
    Fix Version/s: 5.0.5
       Resolution: Fixed

https://github.com/apache/groovy/commit/6f29a436931b736b878408bd358bb26ee2c3bd7f

> AST compilation customizer support for array 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
>            Priority: Major
>             Fix For: 5.0.5
>
>
> 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