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

Daniel Sun updated GROOVY-11703:
--------------------------------
    Component/s: Static Type Checker

> Failed to access `this` of interface
> ------------------------------------
>
>                 Key: GROOVY-11703
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11703
>             Project: Groovy
>          Issue Type: Bug
>          Components: Static Type Checker
>    Affects Versions: 5.0.0-beta-1
>            Reporter: Daniel Sun
>            Priority: Major
>
> When I add {{@CompileStatic}} back to {{{}GinqAstWalker{}}}, the following 
> errors occur. I am not sure if the commit is a breaking change or some 
> unexpected bug introduced. 
> {code:java}
> > Task :groovy-ginq:compileGroovy
> Groovy compilation avoidance is an incubating feature.
> startup failed:
> /home/daniel/IdeaProjects/groovy/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/GinqAstWalker.groovy:
>  -1: Access to org.apache.groovy.ginq.dsl.SyntaxErrorReportable#this is 
> forbidden @ line -1, column -1.
> /home/daniel/IdeaProjects/groovy/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/GinqAstWalker.groovy:
>  -1: Access to org.apache.groovy.ginq.dsl.SyntaxErrorReportable#this is 
> forbidden @ line -1, column -1.
> /home/daniel/IdeaProjects/groovy/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/GinqAstWalker.groovy:
>  -1: Access to org.apache.groovy.ginq.dsl.SyntaxErrorReportable#this is 
> forbidden @ line -1, column -1.
> /home/daniel/IdeaProjects/groovy/subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/GinqAstWalker.groovy:
>  -1: Access to org.apache.groovy.ginq.dsl.SyntaxErrorReportable#this is 
> forbidden @ line -1, column -1.
> 4 errors
> {code}
> The related commit is: 
> [https://github.com/apache/groovy/commit/b7711d8511da7d9eb55af7a4a9a66e736cc8b914#diff-99452f892c35cced958acba638314834abb1e7c66bab336817f4c7187b8d06fc]



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

Reply via email to