testData format update: detailed descriptor rendering.
This commit is contained in:
committed by
Dmitry Petrov
parent
993c3fe51e
commit
4e112b3f88
+31
-31
@@ -1,52 +1,52 @@
|
||||
FILE /argumentReorderingInDelegatingConstructorCall.kt
|
||||
CLASS CLASS Base
|
||||
CONSTRUCTOR public constructor Base(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.Int)
|
||||
CONSTRUCTOR public constructor Base(x: kotlin.Int, y: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
SET_BACKING_FIELD x type=kotlin.Unit operator=null
|
||||
receiver: THIS public open class Base type=Base
|
||||
value: GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
SET_BACKING_FIELD y type=kotlin.Unit operator=null
|
||||
receiver: THIS public open class Base type=Base
|
||||
value: GET_VAR y type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Base
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Base' type=Base
|
||||
value: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
SET_BACKING_FIELD 'y: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Base' type=Base
|
||||
value: GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Base'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR y type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
CLASS CLASS Test1
|
||||
CONSTRUCTOR public constructor Test1(/*0*/ xx: kotlin.Int, /*1*/ yy: kotlin.Int)
|
||||
CONSTRUCTOR public constructor Test1(xx: kotlin.Int, yy: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
BLOCK type=Base operator=ARGUMENTS_REORDERING_FOR_CALL
|
||||
VAR val tmp0_y: kotlin.Int
|
||||
GET_VAR yy type=kotlin.Int operator=null
|
||||
GET_VAR 'value-parameter yy: Int' type=kotlin.Int operator=null
|
||||
VAR val tmp1_x: kotlin.Int
|
||||
GET_VAR xx type=kotlin.Int operator=null
|
||||
DELEGATING_CONSTRUCTOR_CALL Base
|
||||
x: GET_VAR tmp1_x type=kotlin.Int operator=null
|
||||
y: GET_VAR tmp0_y type=kotlin.Int operator=null
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test1
|
||||
GET_VAR 'value-parameter xx: Int' type=kotlin.Int operator=null
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base(Int, Int)'
|
||||
x: GET_VAR 'tmp1_x: Int' type=kotlin.Int operator=null
|
||||
y: GET_VAR 'tmp0_y: Int' type=kotlin.Int operator=null
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
|
||||
CLASS CLASS Test2
|
||||
CONSTRUCTOR public constructor Test2(/*0*/ xx: kotlin.Int, /*1*/ yy: kotlin.Int)
|
||||
CONSTRUCTOR public constructor Test2(xx: kotlin.Int, yy: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
BLOCK type=Base operator=ARGUMENTS_REORDERING_FOR_CALL
|
||||
VAR val tmp0_y: kotlin.Int
|
||||
GET_VAR yy type=kotlin.Int operator=null
|
||||
GET_VAR 'value-parameter yy: Int' type=kotlin.Int operator=null
|
||||
VAR val tmp1_x: kotlin.Int
|
||||
GET_VAR xx type=kotlin.Int operator=null
|
||||
DELEGATING_CONSTRUCTOR_CALL Base
|
||||
x: GET_VAR tmp1_x type=kotlin.Int operator=null
|
||||
y: GET_VAR tmp0_y type=kotlin.Int operator=null
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test2
|
||||
CONSTRUCTOR public constructor Test2(/*0*/ xxx: kotlin.Int, /*1*/ yyy: kotlin.Int, /*2*/ a: kotlin.Any)
|
||||
GET_VAR 'value-parameter xx: Int' type=kotlin.Int operator=null
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base(Int, Int)'
|
||||
x: GET_VAR 'tmp1_x: Int' type=kotlin.Int operator=null
|
||||
y: GET_VAR 'tmp0_y: Int' type=kotlin.Int operator=null
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
|
||||
CONSTRUCTOR public constructor Test2(xxx: kotlin.Int, yyy: kotlin.Int, a: kotlin.Any)
|
||||
BLOCK_BODY
|
||||
BLOCK type=Test2 operator=ARGUMENTS_REORDERING_FOR_CALL
|
||||
VAR val tmp0_yy: kotlin.Int
|
||||
GET_VAR yyy type=kotlin.Int operator=null
|
||||
GET_VAR 'value-parameter yyy: Int' type=kotlin.Int operator=null
|
||||
VAR val tmp1_xx: kotlin.Int
|
||||
GET_VAR xxx type=kotlin.Int operator=null
|
||||
DELEGATING_CONSTRUCTOR_CALL Test2
|
||||
xx: GET_VAR tmp1_xx type=kotlin.Int operator=null
|
||||
yy: GET_VAR tmp0_yy type=kotlin.Int operator=null
|
||||
GET_VAR 'value-parameter xxx: Int' type=kotlin.Int operator=null
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Test2(Int, Int)'
|
||||
xx: GET_VAR 'tmp1_xx: Int' type=kotlin.Int operator=null
|
||||
yy: GET_VAR 'tmp0_yy: Int' type=kotlin.Int operator=null
|
||||
|
||||
+32
-32
@@ -1,26 +1,26 @@
|
||||
FILE /classMembers.kt
|
||||
CLASS CLASS C
|
||||
CONSTRUCTOR public constructor C(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.Int, /*2*/ z: kotlin.Int = ...)
|
||||
CONSTRUCTOR public constructor C(x: kotlin.Int, y: kotlin.Int, z: kotlin.Int = ...)
|
||||
z: EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
SET_BACKING_FIELD y type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class C type=C
|
||||
value: GET_VAR y type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
SET_BACKING_FIELD z type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class C type=C
|
||||
value: GET_VAR z type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=C
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
SET_BACKING_FIELD 'y: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'C' type=C
|
||||
value: GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
SET_BACKING_FIELD 'z: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'C' type=C
|
||||
value: GET_VAR 'value-parameter z: Int = ...' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='C'
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR y type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
PROPERTY public final var z: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR z type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter z: Int = ...' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
CONSTRUCTOR public constructor C()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL C
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor C(Int, Int, Int = ...)'
|
||||
x: CONST Int type=kotlin.Int value='0'
|
||||
y: CONST Int type=kotlin.Int value='0'
|
||||
z: CONST Int type=kotlin.Int value='0'
|
||||
@@ -30,49 +30,49 @@ FILE /classMembers.kt
|
||||
PROPERTY public final val propertyWithGet: kotlin.Int
|
||||
PROPERTY_GETTER public final fun <get-propertyWithGet>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=<get-propertyWithGet>
|
||||
RETURN type=kotlin.Nothing from='<get-propertyWithGet>(): Int'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
PROPERTY public final var propertyWithGetAndSet: kotlin.Int
|
||||
PROPERTY_GETTER public final fun <get-propertyWithGetAndSet>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=<get-propertyWithGetAndSet>
|
||||
CALL .<get-z> type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS public final class C type=C
|
||||
PROPERTY_SETTER public final fun <set-propertyWithGetAndSet>(/*0*/ value: kotlin.Int): kotlin.Unit
|
||||
RETURN type=kotlin.Nothing from='<get-propertyWithGetAndSet>(): Int'
|
||||
CALL '<get-z>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS of 'C' type=C
|
||||
PROPERTY_SETTER public final fun <set-propertyWithGetAndSet>(value: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .<set-z> type=kotlin.Unit operator=EQ
|
||||
$this: THIS public final class C type=C
|
||||
<set-?>: GET_VAR value type=kotlin.Int operator=null
|
||||
CALL '<set-z>(Int): Unit' type=kotlin.Unit operator=EQ
|
||||
$this: THIS of 'C' type=C
|
||||
<set-?>: GET_VAR 'value-parameter value: Int' type=kotlin.Int operator=null
|
||||
FUN public final fun function(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='1'
|
||||
FUN public final fun kotlin.Int.memberExtensionFunction(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='2'
|
||||
CLASS CLASS NestedClass
|
||||
CONSTRUCTOR public constructor NestedClass()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=NestedClass
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='NestedClass'
|
||||
FUN public final fun function(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='3'
|
||||
FUN public final fun kotlin.Int.memberExtensionFunction(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='4'
|
||||
CLASS INTERFACE NestedInterface
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
FUN public open fun bar(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=bar
|
||||
CALL .foo type=kotlin.Unit operator=null
|
||||
$this: THIS public interface NestedInterface type=C.NestedInterface
|
||||
CLASS OBJECT Companion
|
||||
RETURN type=kotlin.Nothing from='bar(): Unit'
|
||||
CALL 'foo(): Unit' type=kotlin.Unit operator=null
|
||||
$this: THIS of 'NestedInterface' type=C.NestedInterface
|
||||
CLASS OBJECT companion object of C
|
||||
CONSTRUCTOR private constructor Companion()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Companion
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='companion object of C'
|
||||
|
||||
+10
-10
@@ -2,25 +2,25 @@ FILE /classes.kt
|
||||
CLASS CLASS TestClass
|
||||
CONSTRUCTOR public constructor TestClass()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestClass
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestClass'
|
||||
CLASS INTERFACE TestInterface
|
||||
CLASS OBJECT TestObject
|
||||
CONSTRUCTOR private constructor TestObject()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestObject
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestObject'
|
||||
CLASS ANNOTATION_CLASS TestAnnotationClass
|
||||
CONSTRUCTOR public constructor TestAnnotationClass()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestAnnotationClass
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestAnnotationClass'
|
||||
CLASS ENUM_CLASS TestEnumClass
|
||||
CONSTRUCTOR private constructor TestEnumClass()
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL Enum super
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestEnumClass
|
||||
FUN public final /*synthesized*/ fun values(): kotlin.Array<TestEnumClass>
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)' super
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestEnumClass'
|
||||
FUN public final fun values(): kotlin.Array<TestEnumClass>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): TestEnumClass
|
||||
FUN public final fun valueOf(value: kotlin.String): TestEnumClass
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
|
||||
+10
-10
@@ -2,20 +2,20 @@ FILE /companionObject.kt
|
||||
CLASS CLASS Test1
|
||||
CONSTRUCTOR public constructor Test1()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test1
|
||||
CLASS OBJECT Companion
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
|
||||
CLASS OBJECT companion object of Test1
|
||||
CONSTRUCTOR private constructor Companion()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Companion
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='companion object of Test1'
|
||||
CLASS CLASS Test2
|
||||
CONSTRUCTOR public constructor Test2()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test2
|
||||
CLASS OBJECT Named
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
|
||||
CLASS OBJECT companion object of Test2Named
|
||||
CONSTRUCTOR private constructor Named()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Named
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='companion object of Test2Named'
|
||||
|
||||
+92
-92
@@ -1,134 +1,134 @@
|
||||
FILE /dataClasses.kt
|
||||
CLASS CLASS Test1
|
||||
CONSTRUCTOR public constructor Test1(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.String, /*2*/ z: kotlin.Any)
|
||||
CONSTRUCTOR public constructor Test1(x: kotlin.Int, y: kotlin.String, z: kotlin.Any)
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
SET_BACKING_FIELD x type=kotlin.Unit operator=null
|
||||
receiver: THIS public final data class Test1 type=Test1
|
||||
value: GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
SET_BACKING_FIELD y type=kotlin.Unit operator=null
|
||||
receiver: THIS public final data class Test1 type=Test1
|
||||
value: GET_VAR y type=kotlin.String operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
SET_BACKING_FIELD z type=kotlin.Unit operator=null
|
||||
receiver: THIS public final data class Test1 type=Test1
|
||||
value: GET_VAR z type=kotlin.Any operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test1
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Test1' type=Test1
|
||||
value: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
SET_BACKING_FIELD 'y: String' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Test1' type=Test1
|
||||
value: GET_VAR 'value-parameter y: String' type=kotlin.String operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
SET_BACKING_FIELD 'z: Any' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Test1' type=Test1
|
||||
value: GET_VAR 'value-parameter z: Any' type=kotlin.Any operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
PROPERTY public final val y: kotlin.String
|
||||
EXPRESSION_BODY
|
||||
GET_VAR y type=kotlin.String operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter y: String' type=kotlin.String operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
PROPERTY public final val z: kotlin.Any
|
||||
EXPRESSION_BODY
|
||||
GET_VAR z type=kotlin.Any operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final operator /*synthesized*/ fun component1(): kotlin.Int
|
||||
GET_VAR 'value-parameter z: Any' type=kotlin.Any operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final operator fun component1(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=component1
|
||||
CALL .<get-x> type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS public final data class Test1 type=Test1
|
||||
FUN public final operator /*synthesized*/ fun component2(): kotlin.String
|
||||
RETURN type=kotlin.Nothing from='component1(): Int'
|
||||
CALL '<get-x>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
FUN public final operator fun component2(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=component2
|
||||
CALL .<get-y> type=kotlin.String operator=GET_PROPERTY
|
||||
$this: THIS public final data class Test1 type=Test1
|
||||
FUN public final operator /*synthesized*/ fun component3(): kotlin.Any
|
||||
RETURN type=kotlin.Nothing from='component2(): String'
|
||||
CALL '<get-y>(): String' type=kotlin.String operator=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
FUN public final operator fun component3(): kotlin.Any
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=component3
|
||||
CALL .<get-z> type=kotlin.Any operator=GET_PROPERTY
|
||||
$this: THIS public final data class Test1 type=Test1
|
||||
FUN public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.String = ..., /*2*/ z: kotlin.Any = ...): Test1
|
||||
RETURN type=kotlin.Nothing from='component3(): Any'
|
||||
CALL '<get-z>(): Any' type=kotlin.Any operator=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
FUN public final fun copy(x: kotlin.Int = ..., y: kotlin.String = ..., z: kotlin.Any = ...): Test1
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=copy
|
||||
CALL .<init> type=Test1 operator=null
|
||||
x: GET_VAR x type=kotlin.Int operator=null
|
||||
y: GET_VAR y type=kotlin.String operator=null
|
||||
z: GET_VAR z type=kotlin.Any operator=null
|
||||
FUN public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
RETURN type=kotlin.Nothing from='copy(Int = ..., String = ..., Any = ...): Test1'
|
||||
CALL 'constructor Test1(Int, String, Any)' type=Test1 operator=null
|
||||
x: GET_VAR 'value-parameter x: Int = ...' type=kotlin.Int operator=null
|
||||
y: GET_VAR 'value-parameter y: String = ...' type=kotlin.String operator=null
|
||||
z: GET_VAR 'value-parameter z: Any = ...' type=kotlin.Any operator=null
|
||||
FUN public open override fun toString(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=toString
|
||||
RETURN type=kotlin.Nothing from='toString(): String'
|
||||
STRING_CONCATENATION type=kotlin.String
|
||||
CONST String type=kotlin.String value='Test1('
|
||||
CONST String type=kotlin.String value='x='
|
||||
CALL .<get-x> type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS public final data class Test1 type=Test1
|
||||
CALL '<get-x>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
CONST String type=kotlin.String value=', '
|
||||
CONST String type=kotlin.String value='y='
|
||||
CALL .<get-y> type=kotlin.String operator=GET_PROPERTY
|
||||
$this: THIS public final data class Test1 type=Test1
|
||||
CALL '<get-y>(): String' type=kotlin.String operator=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
CONST String type=kotlin.String value=', '
|
||||
CONST String type=kotlin.String value='z='
|
||||
CALL .<get-z> type=kotlin.Any operator=GET_PROPERTY
|
||||
$this: THIS public final data class Test1 type=Test1
|
||||
CALL '<get-z>(): Any' type=kotlin.Any operator=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
CONST String type=kotlin.String value=')'
|
||||
FUN public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
FUN public open override fun hashCode(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
VAR val tmp0_result: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
SET_VAR tmp0_result type=kotlin.Unit operator=EQ
|
||||
CALL .hashCode type=kotlin.Int operator=null
|
||||
$this: CALL .<get-x> type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS public final data class Test1 type=Test1
|
||||
SET_VAR tmp0_result type=kotlin.Unit operator=EQ
|
||||
CALL .plus type=kotlin.Int operator=null
|
||||
$this: CALL .times type=kotlin.Int operator=null
|
||||
$this: GET_VAR tmp0_result type=kotlin.Int operator=null
|
||||
SET_VAR 'tmp0_result: Int' type=kotlin.Unit operator=EQ
|
||||
CALL 'hashCode(): Int' type=kotlin.Int operator=null
|
||||
$this: CALL '<get-x>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
SET_VAR 'tmp0_result: Int' type=kotlin.Unit operator=EQ
|
||||
CALL 'plus(Int): Int' type=kotlin.Int operator=null
|
||||
$this: CALL 'times(Int): Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR 'tmp0_result: Int' type=kotlin.Int operator=null
|
||||
other: CONST Int type=kotlin.Int value='31'
|
||||
other: CALL .hashCode type=kotlin.Int operator=null
|
||||
$this: CALL .<get-y> type=kotlin.String operator=GET_PROPERTY
|
||||
$this: THIS public final data class Test1 type=Test1
|
||||
SET_VAR tmp0_result type=kotlin.Unit operator=EQ
|
||||
CALL .plus type=kotlin.Int operator=null
|
||||
$this: CALL .times type=kotlin.Int operator=null
|
||||
$this: GET_VAR tmp0_result type=kotlin.Int operator=null
|
||||
other: CALL 'hashCode(): Int' type=kotlin.Int operator=null
|
||||
$this: CALL '<get-y>(): String' type=kotlin.String operator=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
SET_VAR 'tmp0_result: Int' type=kotlin.Unit operator=EQ
|
||||
CALL 'plus(Int): Int' type=kotlin.Int operator=null
|
||||
$this: CALL 'times(Int): Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR 'tmp0_result: Int' type=kotlin.Int operator=null
|
||||
other: CONST Int type=kotlin.Int value='31'
|
||||
other: CALL .hashCode type=kotlin.Int operator=null
|
||||
$this: CALL .<get-z> type=kotlin.Any operator=GET_PROPERTY
|
||||
$this: THIS public final data class Test1 type=Test1
|
||||
RETURN type=kotlin.Nothing from=hashCode
|
||||
GET_VAR tmp0_result type=kotlin.Int operator=null
|
||||
FUN public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
other: CALL 'hashCode(): Int' type=kotlin.Int operator=null
|
||||
$this: CALL '<get-z>(): Any' type=kotlin.Any operator=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
RETURN type=kotlin.Nothing from='hashCode(): Int'
|
||||
GET_VAR 'tmp0_result: Int' type=kotlin.Int operator=null
|
||||
FUN public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit operator=null
|
||||
if: CALL .EQEQEQ type=kotlin.Boolean operator=EQEQEQ
|
||||
arg0: THIS public final data class Test1 type=Test1
|
||||
arg1: GET_VAR other type=kotlin.Any? operator=null
|
||||
then: RETURN type=kotlin.Nothing from=equals
|
||||
if: CALL 'EQEQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQEQ
|
||||
arg0: THIS of 'Test1' type=Test1
|
||||
arg1: GET_VAR 'value-parameter other: Any?' type=kotlin.Any? operator=null
|
||||
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
CONST Boolean type=kotlin.Boolean value='true'
|
||||
WHEN type=kotlin.Unit operator=null
|
||||
if: TYPE_OP operator=NOT_INSTANCEOF typeOperand=Test1
|
||||
GET_VAR other type=kotlin.Any? operator=null
|
||||
then: RETURN type=kotlin.Nothing from=equals
|
||||
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? operator=null
|
||||
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
CONST Boolean type=kotlin.Boolean value='false'
|
||||
VAR val tmp0_other_with_cast: Test1
|
||||
TYPE_OP operator=CAST typeOperand=Test1
|
||||
GET_VAR other type=kotlin.Any? operator=null
|
||||
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? operator=null
|
||||
WHEN type=kotlin.Unit operator=null
|
||||
if: CALL .NOT type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL .EQEQ type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL .<get-x> type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS public final data class Test1 type=Test1
|
||||
arg1: CALL .<get-x> type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: GET_VAR tmp0_other_with_cast type=Test1 operator=null
|
||||
then: RETURN type=kotlin.Nothing from=equals
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL '<get-x>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
arg1: CALL '<get-x>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: GET_VAR 'tmp0_other_with_cast: Test1' type=Test1 operator=null
|
||||
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
CONST Boolean type=kotlin.Boolean value='false'
|
||||
WHEN type=kotlin.Unit operator=null
|
||||
if: CALL .NOT type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL .EQEQ type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL .<get-y> type=kotlin.String operator=GET_PROPERTY
|
||||
$this: THIS public final data class Test1 type=Test1
|
||||
arg1: CALL .<get-y> type=kotlin.String operator=GET_PROPERTY
|
||||
$this: GET_VAR tmp0_other_with_cast type=Test1 operator=null
|
||||
then: RETURN type=kotlin.Nothing from=equals
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL '<get-y>(): String' type=kotlin.String operator=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
arg1: CALL '<get-y>(): String' type=kotlin.String operator=GET_PROPERTY
|
||||
$this: GET_VAR 'tmp0_other_with_cast: Test1' type=Test1 operator=null
|
||||
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
CONST Boolean type=kotlin.Boolean value='false'
|
||||
WHEN type=kotlin.Unit operator=null
|
||||
if: CALL .NOT type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL .EQEQ type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL .<get-z> type=kotlin.Any operator=GET_PROPERTY
|
||||
$this: THIS public final data class Test1 type=Test1
|
||||
arg1: CALL .<get-z> type=kotlin.Any operator=GET_PROPERTY
|
||||
$this: GET_VAR tmp0_other_with_cast type=Test1 operator=null
|
||||
then: RETURN type=kotlin.Nothing from=equals
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL '<get-z>(): Any' type=kotlin.Any operator=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
arg1: CALL '<get-z>(): Any' type=kotlin.Any operator=GET_PROPERTY
|
||||
$this: GET_VAR 'tmp0_other_with_cast: Test1' type=Test1 operator=null
|
||||
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
CONST Boolean type=kotlin.Boolean value='false'
|
||||
RETURN type=kotlin.Nothing from=equals
|
||||
RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
CONST Boolean type=kotlin.Boolean value='true'
|
||||
|
||||
+87
-87
@@ -1,141 +1,141 @@
|
||||
FILE /delegatedImplementation.kt
|
||||
CLASS INTERFACE IBase
|
||||
FUN public abstract fun foo(/*0*/ x: kotlin.Int, /*1*/ s: kotlin.String): kotlin.Unit
|
||||
FUN public abstract fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
|
||||
FUN public abstract fun bar(): kotlin.Int
|
||||
FUN public abstract fun kotlin.String.qux(): kotlin.Unit
|
||||
CLASS OBJECT BaseImpl
|
||||
CONSTRUCTOR private constructor BaseImpl()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=BaseImpl
|
||||
FUN public open override /*1*/ fun foo(/*0*/ x: kotlin.Int, /*1*/ s: kotlin.String): kotlin.Unit
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='BaseImpl'
|
||||
FUN public open override fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
FUN public open override /*1*/ fun bar(): kotlin.Int
|
||||
FUN public open override fun bar(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=bar
|
||||
RETURN type=kotlin.Nothing from='bar(): Int'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
FUN public open override /*1*/ fun kotlin.String.qux(): kotlin.Unit
|
||||
FUN public open override fun kotlin.String.qux(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CLASS INTERFACE IOther
|
||||
PROPERTY public abstract val x: kotlin.String
|
||||
PROPERTY public abstract var y: kotlin.Int
|
||||
PROPERTY public abstract val kotlin.Byte.z1: kotlin.Int
|
||||
PROPERTY public abstract var kotlin.Byte.z2: kotlin.Int
|
||||
FUN public fun otherImpl(/*0*/ x0: kotlin.String, /*1*/ y0: kotlin.Int): IOther
|
||||
FUN public fun otherImpl(x0: kotlin.String, y0: kotlin.Int): IOther
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=otherImpl
|
||||
RETURN type=kotlin.Nothing from='otherImpl(String, Int): IOther'
|
||||
BLOCK type=otherImpl.<no name provided> operator=OBJECT_LITERAL
|
||||
CLASS CLASS <no name provided>
|
||||
CONSTRUCTOR public constructor <no name provided>()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=<no name provided>
|
||||
PROPERTY public open override /*1*/ val x: kotlin.String
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
|
||||
PROPERTY public open override val x: kotlin.String
|
||||
EXPRESSION_BODY
|
||||
GET_VAR x0 type=kotlin.String operator=null
|
||||
PROPERTY public open override /*1*/ var y: kotlin.Int
|
||||
GET_VAR 'value-parameter x0: String' type=kotlin.String operator=null
|
||||
PROPERTY public open override var y: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR y0 type=kotlin.Int operator=null
|
||||
PROPERTY public open override /*1*/ val kotlin.Byte.z1: kotlin.Int
|
||||
PROPERTY_GETTER public open override /*1*/ fun kotlin.Byte.<get-z1>(): kotlin.Int
|
||||
GET_VAR 'value-parameter y0: Int' type=kotlin.Int operator=null
|
||||
PROPERTY public open override val kotlin.Byte.z1: kotlin.Int
|
||||
PROPERTY_GETTER public open override fun kotlin.Byte.<get-z1>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=<get-z1>
|
||||
RETURN type=kotlin.Nothing from='<get-z1>() on Byte: Int'
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
PROPERTY public open override /*1*/ var kotlin.Byte.z2: kotlin.Int
|
||||
PROPERTY_GETTER public open override /*1*/ fun kotlin.Byte.<get-z2>(): kotlin.Int
|
||||
PROPERTY public open override var kotlin.Byte.z2: kotlin.Int
|
||||
PROPERTY_GETTER public open override fun kotlin.Byte.<get-z2>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=<get-z2>
|
||||
RETURN type=kotlin.Nothing from='<get-z2>() on Byte: Int'
|
||||
CONST Int type=kotlin.Int value='2'
|
||||
PROPERTY_SETTER public open override /*1*/ fun kotlin.Byte.<set-z2>(/*0*/ value: kotlin.Int): kotlin.Unit
|
||||
PROPERTY_SETTER public open override fun kotlin.Byte.<set-z2>(value: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .<init> type=otherImpl.<no name provided> operator=OBJECT_LITERAL
|
||||
CALL 'constructor <no name provided>()' type=otherImpl.<no name provided> operator=OBJECT_LITERAL
|
||||
CLASS CLASS Test1
|
||||
CONSTRUCTOR public constructor Test1()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test1
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
|
||||
PROPERTY val `Test1$IBase$delegate`: BaseImpl
|
||||
EXPRESSION_BODY
|
||||
GET_OBJECT BaseImpl type=BaseImpl
|
||||
FUN public open override /*1*/ /*delegation*/ fun foo(/*0*/ x: kotlin.Int, /*1*/ s: kotlin.String): kotlin.Unit
|
||||
GET_OBJECT 'BaseImpl' type=BaseImpl
|
||||
FUN public open override fun bar(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
CALL .foo type=kotlin.Unit operator=null
|
||||
$this: GET_VAR Test1$IBase$delegate type=BaseImpl operator=null
|
||||
x: GET_VAR x type=kotlin.Int operator=null
|
||||
s: GET_VAR s type=kotlin.String operator=null
|
||||
FUN public open override /*1*/ /*delegation*/ fun bar(): kotlin.Int
|
||||
RETURN type=kotlin.Nothing from='bar(): Int'
|
||||
CALL 'bar(): Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
FUN public open override fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=bar
|
||||
CALL .bar type=kotlin.Int operator=null
|
||||
$this: GET_VAR Test1$IBase$delegate type=BaseImpl operator=null
|
||||
FUN public open override /*1*/ /*delegation*/ fun kotlin.String.qux(): kotlin.Unit
|
||||
CALL 'foo(Int, String): Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
|
||||
s: GET_VAR 'value-parameter s: String' type=kotlin.String operator=null
|
||||
FUN public open override fun kotlin.String.qux(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .qux type=kotlin.Unit operator=null
|
||||
$this: GET_VAR Test1$IBase$delegate type=BaseImpl operator=null
|
||||
$receiver: $RECEIVER of: qux type=kotlin.String
|
||||
CALL 'qux() on String: Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
$receiver: $RECEIVER of 'qux() on String: Unit' type=kotlin.String
|
||||
CLASS CLASS Test2
|
||||
CONSTRUCTOR public constructor Test2()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test2
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
|
||||
PROPERTY val `Test2$IBase$delegate`: BaseImpl
|
||||
EXPRESSION_BODY
|
||||
GET_OBJECT BaseImpl type=BaseImpl
|
||||
FUN public open override /*1*/ /*delegation*/ fun foo(/*0*/ x: kotlin.Int, /*1*/ s: kotlin.String): kotlin.Unit
|
||||
GET_OBJECT 'BaseImpl' type=BaseImpl
|
||||
FUN public open override fun bar(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
CALL .foo type=kotlin.Unit operator=null
|
||||
$this: GET_VAR Test2$IBase$delegate type=BaseImpl operator=null
|
||||
x: GET_VAR x type=kotlin.Int operator=null
|
||||
s: GET_VAR s type=kotlin.String operator=null
|
||||
FUN public open override /*1*/ /*delegation*/ fun bar(): kotlin.Int
|
||||
RETURN type=kotlin.Nothing from='bar(): Int'
|
||||
CALL 'bar(): Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
FUN public open override fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=bar
|
||||
CALL .bar type=kotlin.Int operator=null
|
||||
$this: GET_VAR Test2$IBase$delegate type=BaseImpl operator=null
|
||||
FUN public open override /*1*/ /*delegation*/ fun kotlin.String.qux(): kotlin.Unit
|
||||
CALL 'foo(Int, String): Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
|
||||
s: GET_VAR 'value-parameter s: String' type=kotlin.String operator=null
|
||||
FUN public open override fun kotlin.String.qux(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .qux type=kotlin.Unit operator=null
|
||||
$this: GET_VAR Test2$IBase$delegate type=BaseImpl operator=null
|
||||
$receiver: $RECEIVER of: qux type=kotlin.String
|
||||
CALL 'qux() on String: Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
$receiver: $RECEIVER of 'qux() on String: Unit' type=kotlin.String
|
||||
PROPERTY val `Test2$IOther$delegate`: IOther
|
||||
EXPRESSION_BODY
|
||||
CALL .otherImpl type=IOther operator=null
|
||||
CALL 'otherImpl(String, Int): IOther' type=IOther operator=null
|
||||
x0: CONST String type=kotlin.String value=''
|
||||
y0: CONST Int type=kotlin.Int value='42'
|
||||
PROPERTY public open override /*1*/ /*delegation*/ val x: kotlin.String
|
||||
PROPERTY_GETTER public open override /*1*/ /*delegation*/ fun <get-x>(): kotlin.String
|
||||
PROPERTY public open override val kotlin.Byte.z1: kotlin.Int
|
||||
PROPERTY_GETTER public open override fun kotlin.Byte.<get-z1>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=<get-x>
|
||||
CALL .<get-x> type=kotlin.String operator=null
|
||||
$this: GET_VAR Test2$IOther$delegate type=IOther operator=null
|
||||
PROPERTY public open override /*1*/ /*delegation*/ var y: kotlin.Int
|
||||
PROPERTY_GETTER public open override /*1*/ /*delegation*/ fun <get-y>(): kotlin.Int
|
||||
RETURN type=kotlin.Nothing from='<get-z1>() on Byte: Int'
|
||||
CALL '<get-z1>() on Byte: Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
$receiver: $RECEIVER of 'z1: Int on Byte' type=kotlin.Byte
|
||||
PROPERTY public open override val x: kotlin.String
|
||||
PROPERTY_GETTER public open override fun <get-x>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=<get-y>
|
||||
CALL .<get-y> type=kotlin.Int operator=null
|
||||
$this: GET_VAR Test2$IOther$delegate type=IOther operator=null
|
||||
PROPERTY_SETTER public open override /*1*/ /*delegation*/ fun <set-y>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): String'
|
||||
CALL '<get-x>(): String' type=kotlin.String operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
PROPERTY public open override var kotlin.Byte.z2: kotlin.Int
|
||||
PROPERTY_GETTER public open override fun kotlin.Byte.<get-z2>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
CALL .<set-y> type=kotlin.Unit operator=null
|
||||
$this: GET_VAR Test2$IOther$delegate type=IOther operator=null
|
||||
<set-?>: GET_VAR <set-?> type=kotlin.Int operator=null
|
||||
PROPERTY public open override /*1*/ /*delegation*/ val kotlin.Byte.z1: kotlin.Int
|
||||
PROPERTY_GETTER public open override /*1*/ /*delegation*/ fun kotlin.Byte.<get-z1>(): kotlin.Int
|
||||
RETURN type=kotlin.Nothing from='<get-z2>() on Byte: Int'
|
||||
CALL '<get-z2>() on Byte: Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
$receiver: $RECEIVER of 'z2: Int on Byte' type=kotlin.Byte
|
||||
PROPERTY_SETTER public open override fun kotlin.Byte.<set-z2>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=<get-z1>
|
||||
CALL .<get-z1> type=kotlin.Int operator=null
|
||||
$this: GET_VAR Test2$IOther$delegate type=IOther operator=null
|
||||
$receiver: $RECEIVER of: z1 type=kotlin.Byte
|
||||
PROPERTY public open override /*1*/ /*delegation*/ var kotlin.Byte.z2: kotlin.Int
|
||||
PROPERTY_GETTER public open override /*1*/ /*delegation*/ fun kotlin.Byte.<get-z2>(): kotlin.Int
|
||||
CALL '<set-z2>(Int) on Byte: Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
$receiver: $RECEIVER of 'z2: Int on Byte' type=kotlin.Byte
|
||||
<set-?>: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
PROPERTY public open override var y: kotlin.Int
|
||||
PROPERTY_GETTER public open override fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=<get-z2>
|
||||
CALL .<get-z2> type=kotlin.Int operator=null
|
||||
$this: GET_VAR Test2$IOther$delegate type=IOther operator=null
|
||||
$receiver: $RECEIVER of: z2 type=kotlin.Byte
|
||||
PROPERTY_SETTER public open override /*1*/ /*delegation*/ fun kotlin.Byte.<set-z2>(/*0*/ <set-?>: kotlin.Int): kotlin.Unit
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
CALL '<get-y>(): Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
PROPERTY_SETTER public open override fun <set-y>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .<set-z2> type=kotlin.Unit operator=null
|
||||
$this: GET_VAR Test2$IOther$delegate type=IOther operator=null
|
||||
$receiver: $RECEIVER of: z2 type=kotlin.Byte
|
||||
<set-?>: GET_VAR <set-?> type=kotlin.Int operator=null
|
||||
CALL '<set-y>(Int): Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
<set-?>: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
|
||||
+11
-11
@@ -5,23 +5,23 @@ FILE /delegatedImplementationWithExplicitOverride.kt
|
||||
CLASS OBJECT FooBarImpl
|
||||
CONSTRUCTOR private constructor FooBarImpl()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=FooBarImpl
|
||||
FUN public open override /*1*/ fun foo(): kotlin.Unit
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='FooBarImpl'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
FUN public open override /*1*/ fun bar(): kotlin.Unit
|
||||
FUN public open override fun bar(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CLASS CLASS C
|
||||
CONSTRUCTOR public constructor C()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=C
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='C'
|
||||
PROPERTY val `C$IFooBar$delegate`: FooBarImpl
|
||||
EXPRESSION_BODY
|
||||
GET_OBJECT FooBarImpl type=FooBarImpl
|
||||
FUN public open override /*1*/ /*delegation*/ fun foo(): kotlin.Unit
|
||||
GET_OBJECT 'FooBarImpl' type=FooBarImpl
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .foo type=kotlin.Unit operator=null
|
||||
$this: GET_VAR C$IFooBar$delegate type=FooBarImpl operator=null
|
||||
FUN public open override /*1*/ fun bar(): kotlin.Unit
|
||||
CALL 'foo(): Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`C$IFooBar$delegate`: FooBarImpl' type=FooBarImpl operator=null
|
||||
FUN public open override fun bar(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
|
||||
+9
-9
@@ -2,17 +2,17 @@ FILE /delegatingConstructorCallsInSecondaryConstructors.kt
|
||||
CLASS CLASS Base
|
||||
CONSTRUCTOR public constructor Base()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Base
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Base'
|
||||
CLASS CLASS Test
|
||||
CONSTRUCTOR public constructor Test()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Base
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test
|
||||
CONSTRUCTOR public constructor Test(/*0*/ xx: kotlin.Int)
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test'
|
||||
CONSTRUCTOR public constructor Test(xx: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Base
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test
|
||||
CONSTRUCTOR public constructor Test(/*0*/ xx: kotlin.Short)
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test'
|
||||
CONSTRUCTOR public constructor Test(xx: kotlin.Short)
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Test
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Test()'
|
||||
|
||||
+52
-52
@@ -2,105 +2,105 @@ FILE /enum.kt
|
||||
CLASS ENUM_CLASS TestEnum1
|
||||
CONSTRUCTOR private constructor TestEnum1()
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL Enum super
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestEnum1
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)' super
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestEnum1'
|
||||
ENUM_ENTRY enum entry TEST1
|
||||
init: ENUM_CONSTRUCTOR_CALL TestEnum1 TEST1
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum1()' TEST1
|
||||
ENUM_ENTRY enum entry TEST2
|
||||
init: ENUM_CONSTRUCTOR_CALL TestEnum1 TEST2
|
||||
FUN public final /*synthesized*/ fun values(): kotlin.Array<TestEnum1>
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum1()' TEST2
|
||||
FUN public final fun values(): kotlin.Array<TestEnum1>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): TestEnum1
|
||||
FUN public final fun valueOf(value: kotlin.String): TestEnum1
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
CLASS ENUM_CLASS TestEnum2
|
||||
CONSTRUCTOR private constructor TestEnum2(/*0*/ x: kotlin.Int)
|
||||
CONSTRUCTOR private constructor TestEnum2(x: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL Enum super
|
||||
SET_BACKING_FIELD x type=kotlin.Unit operator=null
|
||||
receiver: THIS public final enum class TestEnum2 : kotlin.Enum<TestEnum2> type=TestEnum2
|
||||
value: GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestEnum2
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)' super
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'TestEnum2' type=TestEnum2
|
||||
value: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestEnum2'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
ENUM_ENTRY enum entry TEST1
|
||||
init: ENUM_CONSTRUCTOR_CALL TestEnum2 TEST1
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum2(Int)' TEST1
|
||||
x: CONST Int type=kotlin.Int value='1'
|
||||
ENUM_ENTRY enum entry TEST2
|
||||
init: ENUM_CONSTRUCTOR_CALL TestEnum2 TEST2
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum2(Int)' TEST2
|
||||
x: CONST Int type=kotlin.Int value='2'
|
||||
ENUM_ENTRY enum entry TEST3
|
||||
init: ENUM_CONSTRUCTOR_CALL TestEnum2 TEST3
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum2(Int)' TEST3
|
||||
x: CONST Int type=kotlin.Int value='3'
|
||||
FUN public final /*synthesized*/ fun values(): kotlin.Array<TestEnum2>
|
||||
FUN public final fun values(): kotlin.Array<TestEnum2>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): TestEnum2
|
||||
FUN public final fun valueOf(value: kotlin.String): TestEnum2
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
CLASS ENUM_CLASS TestEnum3
|
||||
CONSTRUCTOR private constructor TestEnum3()
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL Enum super
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestEnum3
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)' super
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestEnum3'
|
||||
ENUM_ENTRY enum entry TEST
|
||||
init: ENUM_CONSTRUCTOR_CALL TEST TEST
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor TEST()' TEST
|
||||
class: CLASS ENUM_ENTRY TEST
|
||||
CONSTRUCTOR private constructor TEST()
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL TestEnum3 super
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TEST
|
||||
FUN public open override /*1*/ fun foo(): kotlin.Unit
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor TestEnum3()' super
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TEST'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='Hello, world!'
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
FUN public final /*synthesized*/ fun values(): kotlin.Array<TestEnum3>
|
||||
FUN public final fun values(): kotlin.Array<TestEnum3>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): TestEnum3
|
||||
FUN public final fun valueOf(value: kotlin.String): TestEnum3
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
CLASS ENUM_CLASS TestEnum4
|
||||
CONSTRUCTOR private constructor TestEnum4(/*0*/ x: kotlin.Int)
|
||||
CONSTRUCTOR private constructor TestEnum4(x: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL Enum super
|
||||
SET_BACKING_FIELD x type=kotlin.Unit operator=null
|
||||
receiver: THIS public final enum class TestEnum4 : kotlin.Enum<TestEnum4> type=TestEnum4
|
||||
value: GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestEnum4
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)' super
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'TestEnum4' type=TestEnum4
|
||||
value: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestEnum4'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
ENUM_ENTRY enum entry TEST1
|
||||
init: ENUM_CONSTRUCTOR_CALL TEST1 TEST1
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor TEST1()' TEST1
|
||||
class: CLASS ENUM_ENTRY TEST1
|
||||
CONSTRUCTOR private constructor TEST1()
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL TestEnum4 super
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor TestEnum4(Int)' super
|
||||
x: CONST Int type=kotlin.Int value='1'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TEST1
|
||||
FUN public open override /*1*/ fun foo(): kotlin.Unit
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TEST1'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
message: GET_ENUM_VALUE TEST1 type=TestEnum4
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: GET_ENUM_VALUE 'TEST1' type=TestEnum4
|
||||
ENUM_ENTRY enum entry TEST2
|
||||
init: ENUM_CONSTRUCTOR_CALL TEST2 TEST2
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor TEST2()' TEST2
|
||||
class: CLASS ENUM_ENTRY TEST2
|
||||
CONSTRUCTOR private constructor TEST2()
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL TestEnum4 super
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor TestEnum4(Int)' super
|
||||
x: CONST Int type=kotlin.Int value='2'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TEST2
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TEST2'
|
||||
PROPERTY public final val z: kotlin.Int
|
||||
ANONYMOUS_INITIALIZER TEST2
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD z type=kotlin.Unit operator=null
|
||||
receiver: THIS enum entry TEST2 type=TestEnum4.TEST2
|
||||
value: CALL .<get-x> type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS enum entry TEST2 type=TestEnum4.TEST2
|
||||
FUN public open override /*1*/ fun foo(): kotlin.Unit
|
||||
SET_BACKING_FIELD 'z: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'TEST2' type=TestEnum4.TEST2
|
||||
value: CALL '<get-x>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS of 'TEST2' type=TestEnum4.TEST2
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
message: GET_ENUM_VALUE TEST2 type=TestEnum4
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: GET_ENUM_VALUE 'TEST2' type=TestEnum4
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
FUN public final /*synthesized*/ fun values(): kotlin.Array<TestEnum4>
|
||||
FUN public final fun values(): kotlin.Array<TestEnum4>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): TestEnum4
|
||||
FUN public final fun valueOf(value: kotlin.String): TestEnum4
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
|
||||
+24
-24
@@ -2,61 +2,61 @@ FILE /initBlock.kt
|
||||
CLASS CLASS Test1
|
||||
CONSTRUCTOR public constructor Test1()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test1
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
|
||||
ANONYMOUS_INITIALIZER Test1
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(): Unit' type=kotlin.Unit operator=null
|
||||
CLASS CLASS Test2
|
||||
CONSTRUCTOR public constructor Test2(/*0*/ x: kotlin.Int)
|
||||
CONSTRUCTOR public constructor Test2(x: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
SET_BACKING_FIELD x type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class Test2 type=Test2
|
||||
value: GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test2
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Test2' type=Test2
|
||||
value: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
ANONYMOUS_INITIALIZER Test2
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(): Unit' type=kotlin.Unit operator=null
|
||||
CLASS CLASS Test3
|
||||
ANONYMOUS_INITIALIZER Test3
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(): Unit' type=kotlin.Unit operator=null
|
||||
CONSTRUCTOR public constructor Test3()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test3
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test3'
|
||||
CLASS CLASS Test4
|
||||
ANONYMOUS_INITIALIZER Test4
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='1'
|
||||
CONSTRUCTOR public constructor Test4()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test4
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test4'
|
||||
ANONYMOUS_INITIALIZER Test4
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='2'
|
||||
CLASS CLASS Test5
|
||||
CONSTRUCTOR public constructor Test5()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test5
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test5'
|
||||
ANONYMOUS_INITIALIZER Test5
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='1'
|
||||
CLASS CLASS TestInner
|
||||
CONSTRUCTOR public constructor TestInner()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestInner
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInner'
|
||||
ANONYMOUS_INITIALIZER TestInner
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='2'
|
||||
|
||||
+13
-13
@@ -1,31 +1,31 @@
|
||||
FILE /initVal.kt
|
||||
CLASS CLASS TestInitValFromParameter
|
||||
CONSTRUCTOR public constructor TestInitValFromParameter(/*0*/ x: kotlin.Int)
|
||||
CONSTRUCTOR public constructor TestInitValFromParameter(x: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
SET_BACKING_FIELD x type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class TestInitValFromParameter type=TestInitValFromParameter
|
||||
value: GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestInitValFromParameter
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'TestInitValFromParameter' type=TestInitValFromParameter
|
||||
value: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitValFromParameter'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
CLASS CLASS TestInitValInClass
|
||||
CONSTRUCTOR public constructor TestInitValInClass()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestInitValInClass
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitValInClass'
|
||||
PROPERTY public final val x: kotlin.Int = 0
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
CLASS CLASS TestInitValInInitBlock
|
||||
CONSTRUCTOR public constructor TestInitValInInitBlock()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestInitValInInitBlock
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitValInInitBlock'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
ANONYMOUS_INITIALIZER TestInitValInInitBlock
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD x type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class TestInitValInInitBlock type=TestInitValInInitBlock
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'TestInitValInInitBlock' type=TestInitValInInitBlock
|
||||
value: CONST Int type=kotlin.Int value='0'
|
||||
|
||||
+32
-32
@@ -1,71 +1,71 @@
|
||||
FILE /initVar.kt
|
||||
CLASS CLASS TestInitVarFromParameter
|
||||
CONSTRUCTOR public constructor TestInitVarFromParameter(/*0*/ x: kotlin.Int)
|
||||
CONSTRUCTOR public constructor TestInitVarFromParameter(x: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
SET_BACKING_FIELD x type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class TestInitVarFromParameter type=TestInitVarFromParameter
|
||||
value: GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestInitVarFromParameter
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'TestInitVarFromParameter' type=TestInitVarFromParameter
|
||||
value: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarFromParameter'
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
CLASS CLASS TestInitVarInClass
|
||||
CONSTRUCTOR public constructor TestInitVarInClass()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestInitVarInClass
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarInClass'
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
CLASS CLASS TestInitVarInInitBlock
|
||||
CONSTRUCTOR public constructor TestInitVarInInitBlock()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestInitVarInInitBlock
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarInInitBlock'
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
ANONYMOUS_INITIALIZER TestInitVarInInitBlock
|
||||
BLOCK_BODY
|
||||
CALL .<set-x> type=kotlin.Unit operator=EQ
|
||||
$this: THIS public final class TestInitVarInInitBlock type=TestInitVarInInitBlock
|
||||
CALL '<set-x>(Int): Unit' type=kotlin.Unit operator=EQ
|
||||
$this: THIS of 'TestInitVarInInitBlock' type=TestInitVarInInitBlock
|
||||
<set-?>: CONST Int type=kotlin.Int value='0'
|
||||
CLASS CLASS TestInitVarWithCustomSetter
|
||||
CONSTRUCTOR public constructor TestInitVarWithCustomSetter()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestInitVarWithCustomSetter
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarWithCustomSetter'
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
PROPERTY_SETTER public final fun <set-x>(/*0*/ value: kotlin.Int): kotlin.Unit
|
||||
PROPERTY_SETTER public final fun <set-x>(value: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD x type=kotlin.Unit operator=EQ
|
||||
value: GET_VAR value type=kotlin.Int operator=null
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=EQ
|
||||
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int operator=null
|
||||
CLASS CLASS TestInitVarWithCustomSetterWithExplicitCtor
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
PROPERTY_SETTER public final fun <set-x>(/*0*/ value: kotlin.Int): kotlin.Unit
|
||||
PROPERTY_SETTER public final fun <set-x>(value: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD x type=kotlin.Unit operator=EQ
|
||||
value: GET_VAR value type=kotlin.Int operator=null
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=EQ
|
||||
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int operator=null
|
||||
ANONYMOUS_INITIALIZER TestInitVarWithCustomSetterWithExplicitCtor
|
||||
BLOCK_BODY
|
||||
CALL .<set-x> type=kotlin.Unit operator=EQ
|
||||
$this: THIS public final class TestInitVarWithCustomSetterWithExplicitCtor type=TestInitVarWithCustomSetterWithExplicitCtor
|
||||
CALL '<set-x>(Int): Unit' type=kotlin.Unit operator=EQ
|
||||
$this: THIS of 'TestInitVarWithCustomSetterWithExplicitCtor' type=TestInitVarWithCustomSetterWithExplicitCtor
|
||||
value: CONST Int type=kotlin.Int value='0'
|
||||
CONSTRUCTOR public constructor TestInitVarWithCustomSetterWithExplicitCtor()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestInitVarWithCustomSetterWithExplicitCtor
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarWithCustomSetterWithExplicitCtor'
|
||||
CLASS CLASS TestInitVarWithCustomSetterInCtor
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
PROPERTY_SETTER public final fun <set-x>(/*0*/ value: kotlin.Int): kotlin.Unit
|
||||
PROPERTY_SETTER public final fun <set-x>(value: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD x type=kotlin.Unit operator=EQ
|
||||
value: GET_VAR value type=kotlin.Int operator=null
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=EQ
|
||||
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int operator=null
|
||||
CONSTRUCTOR public constructor TestInitVarWithCustomSetterInCtor()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestInitVarWithCustomSetterInCtor
|
||||
CALL .<set-x> type=kotlin.Unit operator=EQ
|
||||
$this: THIS public final class TestInitVarWithCustomSetterInCtor type=TestInitVarWithCustomSetterInCtor
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarWithCustomSetterInCtor'
|
||||
CALL '<set-x>(Int): Unit' type=kotlin.Unit operator=EQ
|
||||
$this: THIS of 'TestInitVarWithCustomSetterInCtor' type=TestInitVarWithCustomSetterInCtor
|
||||
value: CONST Int type=kotlin.Int value='42'
|
||||
|
||||
+7
-7
@@ -2,16 +2,16 @@ FILE /innerClass.kt
|
||||
CLASS CLASS Outer
|
||||
CONSTRUCTOR public constructor Outer()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Outer
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
|
||||
CLASS CLASS TestInnerClass
|
||||
CONSTRUCTOR public constructor TestInnerClass()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestInnerClass
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor 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
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor TestInnerClass()'
|
||||
$this: THIS of 'Outer' type=Outer
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='DerivedInnerClass'
|
||||
|
||||
+4
-4
@@ -4,9 +4,9 @@ FILE /localClasses.kt
|
||||
CLASS CLASS LocalClass
|
||||
CONSTRUCTOR public constructor LocalClass()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=LocalClass
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='LocalClass'
|
||||
FUN public final fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .foo type=kotlin.Unit operator=null
|
||||
$this: CALL .<init> type=outer.LocalClass operator=null
|
||||
CALL 'foo(): Unit' type=kotlin.Unit operator=null
|
||||
$this: CALL 'constructor LocalClass()' type=outer.LocalClass operator=null
|
||||
|
||||
@@ -7,59 +7,59 @@ FILE /objectLiteralExpressions.kt
|
||||
CLASS CLASS <no name provided>
|
||||
CONSTRUCTOR public constructor <no name provided>()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=<no name provided>
|
||||
CALL .<init> type=test1.<no name provided> operator=OBJECT_LITERAL
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
|
||||
CALL 'constructor <no name provided>()' type=test1.<no name provided> operator=OBJECT_LITERAL
|
||||
PROPERTY public val test2: IFoo
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=test2.<no name provided> operator=OBJECT_LITERAL
|
||||
CLASS CLASS <no name provided>
|
||||
CONSTRUCTOR public constructor <no name provided>()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=<no name provided>
|
||||
FUN public open override /*1*/ fun foo(): kotlin.Unit
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='foo'
|
||||
CALL .<init> type=test2.<no name provided> operator=OBJECT_LITERAL
|
||||
CALL 'constructor <no name provided>()' type=test2.<no name provided> operator=OBJECT_LITERAL
|
||||
CLASS CLASS Outer
|
||||
CONSTRUCTOR public constructor Outer()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Outer
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
|
||||
CLASS CLASS Inner
|
||||
CONSTRUCTOR public constructor Inner()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Inner
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Inner'
|
||||
FUN public final fun test3(): Outer.Inner
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=test3
|
||||
RETURN type=kotlin.Nothing from='test3(): Outer.Inner'
|
||||
BLOCK type=Outer.test3.<no name provided> operator=OBJECT_LITERAL
|
||||
CLASS CLASS <no name provided>
|
||||
CONSTRUCTOR public constructor <no name provided>()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Inner
|
||||
$this: THIS public final class Outer type=Outer
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=<no name provided>
|
||||
FUN public open override /*1*/ fun foo(): kotlin.Unit
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Inner()'
|
||||
$this: THIS of 'Outer' type=Outer
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='foo'
|
||||
CALL .<init> type=Outer.test3.<no name provided> operator=OBJECT_LITERAL
|
||||
CALL 'constructor <no name provided>()' type=Outer.test3.<no name provided> operator=OBJECT_LITERAL
|
||||
FUN public fun Outer.test4(): Outer.Inner
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=test4
|
||||
RETURN type=kotlin.Nothing from='test4() on Outer: Outer.Inner'
|
||||
BLOCK type=test4.<no name provided> operator=OBJECT_LITERAL
|
||||
CLASS CLASS <no name provided>
|
||||
CONSTRUCTOR public constructor <no name provided>()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Inner
|
||||
$this: $RECEIVER of: test4 type=Outer
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=<no name provided>
|
||||
FUN public open override /*1*/ fun foo(): kotlin.Unit
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Inner()'
|
||||
$this: $RECEIVER of 'test4() on Outer: Outer.Inner' type=Outer
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .println type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='foo'
|
||||
CALL .<init> type=test4.<no name provided> operator=OBJECT_LITERAL
|
||||
CALL 'constructor <no name provided>()' type=test4.<no name provided> operator=OBJECT_LITERAL
|
||||
|
||||
@@ -2,20 +2,20 @@ FILE /objectWithInitializers.kt
|
||||
CLASS CLASS Base
|
||||
CONSTRUCTOR public constructor Base()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Base
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Base'
|
||||
CLASS OBJECT Test
|
||||
CONSTRUCTOR private constructor Test()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Base
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test'
|
||||
PROPERTY public final val x: kotlin.Int = 1
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
ANONYMOUS_INITIALIZER Test
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD y type=kotlin.Unit operator=null
|
||||
receiver: THIS public object Test : Base type=Test
|
||||
value: CALL .<get-x> type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS public object Test : Base type=Test
|
||||
SET_BACKING_FIELD 'y: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Test' type=Test
|
||||
value: CALL '<get-x>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS of 'Test' type=Test
|
||||
|
||||
+29
-29
@@ -1,49 +1,49 @@
|
||||
FILE /primaryConstructor.kt
|
||||
CLASS CLASS Test1
|
||||
CONSTRUCTOR public constructor Test1(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.Int)
|
||||
CONSTRUCTOR public constructor Test1(x: kotlin.Int, y: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
SET_BACKING_FIELD x type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class Test1 type=Test1
|
||||
value: GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
SET_BACKING_FIELD y type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class Test1 type=Test1
|
||||
value: GET_VAR y type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test1
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Test1' type=Test1
|
||||
value: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
SET_BACKING_FIELD 'y: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Test1' type=Test1
|
||||
value: GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR y type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
CLASS CLASS Test2
|
||||
CONSTRUCTOR public constructor Test2(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.Int)
|
||||
CONSTRUCTOR public constructor Test2(x: kotlin.Int, y: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
SET_BACKING_FIELD y type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class Test2 type=Test2
|
||||
value: GET_VAR y type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test2
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
SET_BACKING_FIELD 'y: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Test2' type=Test2
|
||||
value: GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR y type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR x type=kotlin.Int operator=null
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
|
||||
CLASS CLASS Test3
|
||||
CONSTRUCTOR public constructor Test3(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.Int)
|
||||
CONSTRUCTOR public constructor Test3(x: kotlin.Int, y: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
SET_BACKING_FIELD y type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class Test3 type=Test3
|
||||
value: GET_VAR y type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Test3
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
SET_BACKING_FIELD 'y: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Test3' type=Test3
|
||||
value: GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test3'
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR y type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
ANONYMOUS_INITIALIZER Test3
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD x type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class Test3 type=Test3
|
||||
value: GET_VAR x type=kotlin.Int operator=null
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Test3' type=Test3
|
||||
value: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
|
||||
|
||||
+20
-20
@@ -2,37 +2,37 @@ FILE /primaryConstructorWithSuperConstructorCall.kt
|
||||
CLASS CLASS Base
|
||||
CONSTRUCTOR public constructor Base()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Base
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Base'
|
||||
CLASS CLASS TestImplicitPrimaryConstructor
|
||||
CONSTRUCTOR public constructor TestImplicitPrimaryConstructor()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Base
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestImplicitPrimaryConstructor
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestImplicitPrimaryConstructor'
|
||||
CLASS CLASS TestExplicitPrimaryConstructor
|
||||
CONSTRUCTOR public constructor TestExplicitPrimaryConstructor()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Base
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestExplicitPrimaryConstructor
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestExplicitPrimaryConstructor'
|
||||
CLASS CLASS TestWithDelegatingConstructor
|
||||
CONSTRUCTOR public constructor TestWithDelegatingConstructor(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.Int)
|
||||
CONSTRUCTOR public constructor TestWithDelegatingConstructor(x: kotlin.Int, y: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Base
|
||||
SET_BACKING_FIELD x type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class TestWithDelegatingConstructor : Base type=TestWithDelegatingConstructor
|
||||
value: GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
SET_BACKING_FIELD y type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class TestWithDelegatingConstructor : Base type=TestWithDelegatingConstructor
|
||||
value: GET_VAR y type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestWithDelegatingConstructor
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'TestWithDelegatingConstructor' type=TestWithDelegatingConstructor
|
||||
value: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
SET_BACKING_FIELD 'y: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'TestWithDelegatingConstructor' type=TestWithDelegatingConstructor
|
||||
value: GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestWithDelegatingConstructor'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR x type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR y type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
CONSTRUCTOR public constructor TestWithDelegatingConstructor(/*0*/ x: kotlin.Int)
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
CONSTRUCTOR public constructor TestWithDelegatingConstructor(x: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL TestWithDelegatingConstructor
|
||||
x: GET_VAR x type=kotlin.Int operator=null
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor TestWithDelegatingConstructor(Int, Int)'
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
|
||||
y: CONST Int type=kotlin.Int value='0'
|
||||
|
||||
+17
-17
@@ -5,7 +5,7 @@ FILE /qualifiedSuperCalls.kt
|
||||
PROPERTY public open val bar: kotlin.Int
|
||||
PROPERTY_GETTER public open fun <get-bar>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=<get-bar>
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
CLASS INTERFACE IRight
|
||||
FUN public open fun foo(): kotlin.Unit
|
||||
@@ -13,25 +13,25 @@ FILE /qualifiedSuperCalls.kt
|
||||
PROPERTY public open val bar: kotlin.Int
|
||||
PROPERTY_GETTER public open fun <get-bar>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=<get-bar>
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
|
||||
CONST Int type=kotlin.Int value='2'
|
||||
CLASS CLASS CBoth
|
||||
CONSTRUCTOR public constructor CBoth()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=CBoth
|
||||
FUN public open override /*2*/ fun foo(): kotlin.Unit
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CBoth'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .foo superQualifier=ILeft type=kotlin.Unit operator=null
|
||||
$this: THIS public final class CBoth : ILeft, IRight type=ILeft
|
||||
CALL .foo superQualifier=IRight type=kotlin.Unit operator=null
|
||||
$this: THIS public final class CBoth : ILeft, IRight type=IRight
|
||||
PROPERTY public open override /*2*/ val bar: kotlin.Int
|
||||
PROPERTY_GETTER public open override /*2*/ fun <get-bar>(): kotlin.Int
|
||||
CALL 'foo(): Unit' superQualifier=ILeft type=kotlin.Unit operator=null
|
||||
$this: THIS of 'CBoth' type=ILeft
|
||||
CALL 'foo(): Unit' superQualifier=IRight type=kotlin.Unit operator=null
|
||||
$this: THIS of 'CBoth' type=IRight
|
||||
PROPERTY public open override val bar: kotlin.Int
|
||||
PROPERTY_GETTER public open override fun <get-bar>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=<get-bar>
|
||||
CALL .plus type=kotlin.Int operator=PLUS
|
||||
$this: CALL .<get-bar> superQualifier=ILeft type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS public final class CBoth : ILeft, IRight type=ILeft
|
||||
other: CALL .<get-bar> superQualifier=IRight type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS public final class CBoth : ILeft, IRight type=IRight
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
|
||||
CALL 'plus(Int): Int' type=kotlin.Int operator=PLUS
|
||||
$this: CALL '<get-bar>(): Int' superQualifier=ILeft type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS of 'CBoth' type=ILeft
|
||||
other: CALL '<get-bar>(): Int' superQualifier=IRight type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS of 'CBoth' type=IRight
|
||||
|
||||
+22
-22
@@ -2,38 +2,38 @@ FILE /sealedClasses.kt
|
||||
CLASS CLASS Expr
|
||||
CONSTRUCTOR private constructor Expr()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Expr
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Expr'
|
||||
CLASS CLASS Const
|
||||
CONSTRUCTOR public constructor Const(/*0*/ number: kotlin.Double)
|
||||
CONSTRUCTOR public constructor Const(number: kotlin.Double)
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Expr
|
||||
SET_BACKING_FIELD number type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class Const : Expr type=Expr.Const
|
||||
value: GET_VAR number type=kotlin.Double operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Const
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Expr()'
|
||||
SET_BACKING_FIELD 'number: Double' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Const' type=Expr.Const
|
||||
value: GET_VAR 'value-parameter number: Double' type=kotlin.Double operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Const'
|
||||
PROPERTY public final val number: kotlin.Double
|
||||
EXPRESSION_BODY
|
||||
GET_VAR number type=kotlin.Double operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter number: Double' type=kotlin.Double operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
CLASS CLASS Sum
|
||||
CONSTRUCTOR public constructor Sum(/*0*/ e1: Expr, /*1*/ e2: Expr)
|
||||
CONSTRUCTOR public constructor Sum(e1: Expr, e2: Expr)
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Expr
|
||||
SET_BACKING_FIELD e1 type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class Sum : Expr type=Expr.Sum
|
||||
value: GET_VAR e1 type=Expr operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
SET_BACKING_FIELD e2 type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class Sum : Expr type=Expr.Sum
|
||||
value: GET_VAR e2 type=Expr operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Sum
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Expr()'
|
||||
SET_BACKING_FIELD 'e1: Expr' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Sum' type=Expr.Sum
|
||||
value: GET_VAR 'value-parameter e1: Expr' type=Expr operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
SET_BACKING_FIELD 'e2: Expr' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Sum' type=Expr.Sum
|
||||
value: GET_VAR 'value-parameter e2: Expr' type=Expr operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Sum'
|
||||
PROPERTY public final val e1: Expr
|
||||
EXPRESSION_BODY
|
||||
GET_VAR e1 type=Expr operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter e1: Expr' type=Expr operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
PROPERTY public final val e2: Expr
|
||||
EXPRESSION_BODY
|
||||
GET_VAR e2 type=Expr operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter e2: Expr' type=Expr operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
CLASS OBJECT NotANumber
|
||||
CONSTRUCTOR private constructor NotANumber()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Expr
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=NotANumber
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Expr()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='NotANumber'
|
||||
|
||||
+8
-8
@@ -2,24 +2,24 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
|
||||
CLASS CLASS Base
|
||||
CONSTRUCTOR public constructor Base()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Base
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Base'
|
||||
CLASS CLASS TestProperty
|
||||
PROPERTY public final val x: kotlin.Int = 0
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
CONSTRUCTOR public constructor TestProperty()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Base
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestProperty
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestProperty'
|
||||
CLASS CLASS TestInitBlock
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
ANONYMOUS_INITIALIZER TestInitBlock
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD x type=kotlin.Unit operator=null
|
||||
receiver: THIS public final class TestInitBlock : Base type=TestInitBlock
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'TestInitBlock' type=TestInitBlock
|
||||
value: CONST Int type=kotlin.Int value='0'
|
||||
CONSTRUCTOR public constructor TestInitBlock()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Base
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=TestInitBlock
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitBlock'
|
||||
|
||||
@@ -2,9 +2,9 @@ FILE /secondaryConstructors.kt
|
||||
CLASS CLASS C
|
||||
CONSTRUCTOR public constructor C()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL C
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor C(Int)'
|
||||
x: CONST Int type=kotlin.Int value='0'
|
||||
CONSTRUCTOR public constructor C(/*0*/ x: kotlin.Int)
|
||||
CONSTRUCTOR public constructor C(x: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=C
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='C'
|
||||
|
||||
+12
-12
@@ -2,8 +2,8 @@ FILE /superCalls.kt
|
||||
CLASS CLASS Base
|
||||
CONSTRUCTOR public constructor Base()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Any
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Base
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Base'
|
||||
FUN public open fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
PROPERTY public open val bar: kotlin.String = ""
|
||||
@@ -12,15 +12,15 @@ FILE /superCalls.kt
|
||||
CLASS CLASS Derived
|
||||
CONSTRUCTOR public constructor Derived()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL Base
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor=Derived
|
||||
FUN public open override /*1*/ fun foo(): kotlin.Unit
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Derived'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL .foo superQualifier=Base type=kotlin.Unit operator=null
|
||||
$this: THIS public final class Derived : Base type=Base
|
||||
PROPERTY public open override /*1*/ val bar: kotlin.String
|
||||
PROPERTY_GETTER public open override /*1*/ fun <get-bar>(): kotlin.String
|
||||
CALL 'foo(): Unit' superQualifier=Base type=kotlin.Unit operator=null
|
||||
$this: THIS of 'Derived' type=Base
|
||||
PROPERTY public open override val bar: kotlin.String
|
||||
PROPERTY_GETTER public open override fun <get-bar>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from=<get-bar>
|
||||
CALL .<get-bar> superQualifier=Base type=kotlin.String operator=GET_PROPERTY
|
||||
$this: THIS public final class Derived : Base type=Base
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): String'
|
||||
CALL '<get-bar>(): String' superQualifier=Base type=kotlin.String operator=GET_PROPERTY
|
||||
$this: THIS of 'Derived' type=Base
|
||||
|
||||
Reference in New Issue
Block a user