You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Basil Peace (JIRA)" <ji...@apache.org> on 2018/12/07 19:31:00 UTC

[jira] [Commented] (GROOVY-8914) Error compiling static inner class that extends some other (static) inner class

    [ https://issues.apache.org/jira/browse/GROOVY-8914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16713213#comment-16713213 ] 

Basil Peace commented on GROOVY-8914:
-------------------------------------

Class being extended doesn't have to be static, error is the same

> Error compiling static inner class that extends some other (static) inner class
> -------------------------------------------------------------------------------
>
>                 Key: GROOVY-8914
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8914
>             Project: Groovy
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: 3.0.0-alpha-3, 2.5.4
>            Reporter: Basil Peace
>            Priority: Minor
>
> If inner static class extends some other inner static class that already compiled then compiler gives errors like this:
> {{ -1: "methodMissing" implementations are not supported on static inner classes as a synthetic version of "methodMissing" is added during compilation for the purpose of outer class delegation.}}
> No error when class being extended is in current compilation.
>  
> Demo project: https://github.com/grv87/groovy-inner-static-class



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)