[
https://issues.apache.org/jira/browse/GROOVY-9866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Milles updated GROOVY-9866:
--------------------------------
Fix Version/s: (was: 5.0.0-alpha-1)
> 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.2
>
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> 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.10#820010)