mirror of
https://github.com/moparisthebest/fernflower
synced 2024-11-27 03:32:14 -05:00
accept inonsistent anonymous classes (with warning)
E.g. Groovy-compiled anonymouses extend both parent class and GroovyObject.
This commit is contained in:
parent
4996a16139
commit
1119499562
@ -205,7 +205,7 @@ public class ClassesProcessor {
|
||||
|
||||
if(interfaces.length > 0) {
|
||||
if(interfaces.length > 1) {
|
||||
throw new RuntimeException("Inconsistent anonymous class definition: "+cl.qualifiedName);
|
||||
DecompilerContext.getLogger().writeMessage("Inconsistent anonymous class definition: "+cl.qualifiedName, IFernflowerLogger.WARNING);
|
||||
}
|
||||
nestednode.anonimousClassType = new VarType(cl.getInterface(0), true);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user