Fix abstract nested class in enums in JVM back-end
It caused InstantiationError because the enum had an incorrect ACC_ABSTRACT flag
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
enum class E {
|
||||
abstract class Nested
|
||||
|
||||
ENTRY
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
E.ENTRY
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user