You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniil Ovchinnikov (Jira)" <ji...@apache.org> on 2020/12/18 11:09:00 UTC

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

Daniil Ovchinnikov created GROOVY-9866:
------------------------------------------

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


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.3.4#803005)