JVM IR: Convert interface companion fields to static fields.
This commit is contained in:
committed by
max-kammerer
parent
e6211c4995
commit
f34a08cbbf
@@ -1,3 +1,7 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// Inside of the companion we have to access the instance through the local Companion field,
|
||||
// not by indirection through the Companion field of the enclosing class.
|
||||
// Class initialization might not have finished yet.
|
||||
var result = ""
|
||||
|
||||
interface A {
|
||||
|
||||
Reference in New Issue
Block a user