Christopher Smith created GROOVY-10771:
------------------------------------------

             Summary: 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


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)

Reply via email to