[
https://issues.apache.org/jira/browse/GROOVY-10771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Milles updated GROOVY-10771:
---------------------------------
Fix Version/s: 4.0.6
(was: 5.0.0-alpha-1)
> Type-checking extension scripts should import AST classes
> ---------------------------------------------------------
>
> Key: GROOVY-10771
> URL: https://issues.apache.org/jira/browse/GROOVY-10771
> Project: Groovy
> Issue Type: Improvement
> Components: Static Type Checker
> Affects Versions: 4.0.5
> Reporter: Christopher Smith
> Assignee: Eric Milles
> Priority: Minor
> Fix For: 4.0.6
>
>
> Scripts used as type-checking extensions have some imports applied
> automatically, but these imports do not include, for example, {{ClassNode}},
> which is the type of some of the callback signatures to be implemented. It
> seems to me that the automatic imports should include
> {code}
> org.codehaus.groovy.ast.*
> org.codehaus.groovy.ast.expr.*
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)