Generate explicit call to 'Any()' if no superclass found.
Generate call super-constructor calls as IrDelegatedConstructorCall.
This commit is contained in:
committed by
Dmitry Petrov
parent
535ddd639f
commit
28b3ea27f3
@@ -0,0 +1,17 @@
|
||||
FILE /innerClass.kt
|
||||
CLASS CLASS Outer
|
||||
CONSTRUCTOR public constructor Outer()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Outer
|
||||
CLASS CLASS TestInnerClass
|
||||
CONSTRUCTOR public constructor TestInnerClass()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestInnerClass
|
||||
CLASS CLASS DerivedInnerClass
|
||||
CONSTRUCTOR public constructor DerivedInnerClass()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL TestInnerClass
|
||||
$this: THIS public final class Outer type=Outer
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=DerivedInnerClass
|
||||
Reference in New Issue
Block a user