You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2021/12/22 17:33:00 UTC

[jira] [Reopened] (GROOVY-9866) Inner class of superinterface cannot be found

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

Eric Milles reopened GROOVY-9866:
---------------------------------

> Inner class of superinterface cannot be found
> ---------------------------------------------
>
>                 Key: GROOVY-9866
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9866
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 3.0.7
>            Reporter: Daniil Ovchinnikov
>            Assignee: Eric Milles
>            Priority: Major
>             Fix For: 4.0.0-rc-2
>
>
> https://github.com/dovchinnikov/groovy-bug-inner-of-superinterface 
> {noformat}
> $ groovy playground.groovy
> org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
> file:~/groovy-bug-inner-of-superinterface/com/foo/C.groovy: 11: unable to resolve class Level
>  @ line 11, column 24.
>        boolean isLoggable(Level level) {
>                           ^
> file:~/groovy-bug-inner-of-superinterface/com/foo/C.groovy: 16: unable to resolve class Level
>  @ line 16, column 14.
>        void log(Level level, ResourceBundle bundle, String msg, Throwable thrown) {}
>                 ^
> file:~/groovy-bug-inner-of-superinterface/com/foo/C.groovy: 19: unable to resolve class Level
>  @ line 19, column 14.
>        void log(Level level, ResourceBundle bundle, String format, Object... params) {}
>                 ^
> 3 errors
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)