Render receivers as 'this@owner: type'

Add test for generic inner class with generic outer class.
This commit is contained in:
Dmitry Petrov
2017-04-19 18:19:31 +03:00
parent 1bf6f8fc57
commit a511540aad
99 changed files with 944 additions and 905 deletions
+9 -9
View File
@@ -1,35 +1,35 @@
FILE /abstractMembers.kt
CLASS CLASS AbstractClass
$new: VALUE_PARAMETER <receiver: AbstractClass>
$new: VALUE_PARAMETER this@AbstractClass: AbstractClass
CONSTRUCTOR public constructor AbstractClass()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='AbstractClass'
FUN public abstract fun abstractFun(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: AbstractClass>
$this: VALUE_PARAMETER this@AbstractClass: AbstractClass
PROPERTY public abstract val abstractVal: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <get-abstractVal>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: AbstractClass>
$this: VALUE_PARAMETER this@AbstractClass: AbstractClass
PROPERTY public abstract var abstractVar: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <get-abstractVar>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: AbstractClass>
$this: VALUE_PARAMETER this@AbstractClass: AbstractClass
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <set-abstractVar>(<set-?>: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: AbstractClass>
$this: VALUE_PARAMETER this@AbstractClass: AbstractClass
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE Interface
FUN public abstract fun abstractFun(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Interface>
$this: VALUE_PARAMETER this@Interface: Interface
PROPERTY public abstract val abstractVal: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <get-abstractVal>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Interface>
$this: VALUE_PARAMETER this@Interface: Interface
PROPERTY public abstract var abstractVar: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <get-abstractVar>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Interface>
$this: VALUE_PARAMETER this@Interface: Interface
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <set-abstractVar>(<set-?>: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Interface>
$this: VALUE_PARAMETER this@Interface: Interface
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
@@ -1,6 +1,6 @@
FILE /argumentReorderingInDelegatingConstructorCall.kt
CLASS CLASS Base
$new: VALUE_PARAMETER <receiver: Base>
$new: VALUE_PARAMETER this@Base: Base
CONSTRUCTOR public constructor Base(x: kotlin.Int, y: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter y: kotlin.Int
@@ -12,26 +12,26 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Base>
$this: VALUE_PARAMETER this@Base: Base
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Base>' type=Base origin=null
receiver: GET_VAR 'this@Base: Base' type=Base origin=null
PROPERTY public final val y: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final val y: kotlin.Int
EXPRESSION_BODY
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Base>
$this: VALUE_PARAMETER this@Base: Base
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-y>(): Int'
GET_FIELD 'y: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Base>' type=Base origin=null
receiver: GET_VAR 'this@Base: Base' type=Base origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test1
$new: VALUE_PARAMETER <receiver: Test1>
$new: VALUE_PARAMETER this@Test1: Test1
CONSTRUCTOR public constructor Test1(xx: kotlin.Int, yy: kotlin.Int)
VALUE_PARAMETER value-parameter xx: kotlin.Int
VALUE_PARAMETER value-parameter yy: kotlin.Int
@@ -53,7 +53,7 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2
$new: VALUE_PARAMETER <receiver: Test2>
$new: VALUE_PARAMETER this@Test2: Test2
CONSTRUCTOR public constructor Test2(xx: kotlin.Int, yy: kotlin.Int)
VALUE_PARAMETER value-parameter xx: kotlin.Int
VALUE_PARAMETER value-parameter yy: kotlin.Int
+25 -25
View File
@@ -1,6 +1,6 @@
FILE /classMembers.kt
CLASS CLASS C
$new: VALUE_PARAMETER <receiver: C>
$new: VALUE_PARAMETER this@C: C
CONSTRUCTOR public constructor C(x: kotlin.Int, y: kotlin.Int, z: kotlin.Int = ...)
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter y: kotlin.Int
@@ -15,27 +15,27 @@ FILE /classMembers.kt
EXPRESSION_BODY
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: C>
$this: VALUE_PARAMETER this@C: C
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-y>(): Int'
GET_FIELD 'y: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: C>' type=C origin=null
receiver: GET_VAR 'this@C: C' type=C origin=null
PROPERTY public final var z: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final var z: kotlin.Int
EXPRESSION_BODY
GET_VAR 'value-parameter z: Int = ...' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-z>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: C>
$this: VALUE_PARAMETER this@C: C
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-z>(): Int'
GET_FIELD 'z: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: C>' type=C origin=null
receiver: GET_VAR 'this@C: C' type=C origin=null
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-z>(<set-?>: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: C>
$this: VALUE_PARAMETER this@C: C
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
BLOCK_BODY
SET_FIELD 'z: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: C>' type=C origin=null
receiver: GET_VAR 'this@C: C' type=C origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
CONSTRUCTOR public constructor C()
BLOCK_BODY
@@ -48,56 +48,56 @@ FILE /classMembers.kt
EXPRESSION_BODY
CONST Int type=kotlin.Int value='0'
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-property>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: C>
$this: VALUE_PARAMETER this@C: C
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-property>(): Int'
GET_FIELD 'property: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: C>' type=C origin=null
receiver: GET_VAR 'this@C: C' type=C origin=null
PROPERTY public final val propertyWithGet: kotlin.Int
FUN public final fun <get-propertyWithGet>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: C>
$this: VALUE_PARAMETER this@C: C
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-propertyWithGet>(): Int'
CONST Int type=kotlin.Int value='42'
PROPERTY public final var propertyWithGetAndSet: kotlin.Int
FUN public final fun <get-propertyWithGetAndSet>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: C>
$this: VALUE_PARAMETER this@C: C
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-propertyWithGetAndSet>(): Int'
CALL '<get-z>(): Int' type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR '<receiver: C>' type=C origin=null
$this: GET_VAR 'this@C: C' type=C origin=null
FUN public final fun <set-propertyWithGetAndSet>(value: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: C>
$this: VALUE_PARAMETER this@C: C
VALUE_PARAMETER value-parameter value: kotlin.Int
BLOCK_BODY
CALL '<set-z>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_VAR '<receiver: C>' type=C origin=null
$this: GET_VAR 'this@C: C' type=C origin=null
<set-?>: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
FUN public final fun function(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: C>
$this: VALUE_PARAMETER this@C: C
BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='1'
FUN public final fun kotlin.Int.memberExtensionFunction(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: C>
$receiver: VALUE_PARAMETER <receiver: memberExtensionFunction() on Int: Unit>
$this: VALUE_PARAMETER this@C: C
$receiver: VALUE_PARAMETER this@memberExtensionFunction: Int
BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='2'
CLASS CLASS NestedClass
$new: VALUE_PARAMETER <receiver: NestedClass>
$new: VALUE_PARAMETER this@NestedClass: NestedClass
CONSTRUCTOR public constructor NestedClass()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='NestedClass'
FUN public final fun function(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: NestedClass>
$this: VALUE_PARAMETER this@NestedClass: NestedClass
BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='3'
FUN public final fun kotlin.Int.memberExtensionFunction(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: NestedClass>
$receiver: VALUE_PARAMETER <receiver: memberExtensionFunction() on Int: Unit>
$this: VALUE_PARAMETER this@NestedClass: NestedClass
$receiver: VALUE_PARAMETER this@memberExtensionFunction: Int
BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='4'
@@ -106,18 +106,18 @@ FILE /classMembers.kt
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE NestedInterface
FUN public abstract fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: NestedInterface>
$this: VALUE_PARAMETER this@NestedInterface: NestedInterface
FUN public open fun bar(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: NestedInterface>
$this: VALUE_PARAMETER this@NestedInterface: NestedInterface
BLOCK_BODY
RETURN type=kotlin.Nothing from='bar(): Unit'
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_VAR '<receiver: NestedInterface>' type=C.NestedInterface origin=null
$this: GET_VAR 'this@NestedInterface: NestedInterface' type=C.NestedInterface origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT companion object of C
$new: VALUE_PARAMETER <receiver: companion object of C>
$new: VALUE_PARAMETER this@Companion: Companion
CONSTRUCTOR private constructor Companion()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
+4 -4
View File
@@ -1,6 +1,6 @@
FILE /classes.kt
CLASS CLASS TestClass
$new: VALUE_PARAMETER <receiver: TestClass>
$new: VALUE_PARAMETER this@TestClass: TestClass
CONSTRUCTOR public constructor TestClass()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -13,7 +13,7 @@ FILE /classes.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT TestObject
$new: VALUE_PARAMETER <receiver: TestObject>
$new: VALUE_PARAMETER this@TestObject: TestObject
CONSTRUCTOR private constructor TestObject()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -22,12 +22,12 @@ FILE /classes.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS ANNOTATION_CLASS TestAnnotationClass
$new: VALUE_PARAMETER <receiver: TestAnnotationClass>
$new: VALUE_PARAMETER this@TestAnnotationClass: TestAnnotationClass
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS ENUM_CLASS TestEnumClass
$new: VALUE_PARAMETER <receiver: TestEnumClass>
$new: VALUE_PARAMETER this@TestEnumClass: TestEnumClass
CONSTRUCTOR private constructor TestEnumClass()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
+4 -4
View File
@@ -1,12 +1,12 @@
FILE /companionObject.kt
CLASS CLASS Test1
$new: VALUE_PARAMETER <receiver: Test1>
$new: VALUE_PARAMETER this@Test1: Test1
CONSTRUCTOR public constructor Test1()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
CLASS OBJECT companion object of Test1
$new: VALUE_PARAMETER <receiver: companion object of Test1>
$new: VALUE_PARAMETER this@Companion: Companion
CONSTRUCTOR private constructor Companion()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -18,13 +18,13 @@ FILE /companionObject.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2
$new: VALUE_PARAMETER <receiver: Test2>
$new: VALUE_PARAMETER this@Test2: Test2
CONSTRUCTOR public constructor Test2()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
CLASS OBJECT companion object of Test2Named
$new: VALUE_PARAMETER <receiver: companion object of Test2Named>
$new: VALUE_PARAMETER this@Named: Named
CONSTRUCTOR private constructor Named()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
+44 -44
View File
@@ -1,6 +1,6 @@
FILE /dataClasses.kt
CLASS CLASS Test1
$new: VALUE_PARAMETER <receiver: Test1>
$new: VALUE_PARAMETER this@Test1: Test1
CONSTRUCTOR public constructor Test1(x: kotlin.Int, y: kotlin.String, z: kotlin.Any)
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter y: kotlin.String
@@ -13,63 +13,63 @@ FILE /dataClasses.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null
receiver: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
PROPERTY public final val y: kotlin.String
FIELD PROPERTY_BACKING_FIELD public final val y: kotlin.String
EXPRESSION_BODY
GET_VAR 'value-parameter y: String' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.String
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-y>(): String'
GET_FIELD 'y: String' type=kotlin.String origin=null
receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null
receiver: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
PROPERTY public final val z: kotlin.Any
FIELD PROPERTY_BACKING_FIELD public final val z: kotlin.Any
EXPRESSION_BODY
GET_VAR 'value-parameter z: Any' type=kotlin.Any origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-z>(): kotlin.Any
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-z>(): Any'
GET_FIELD 'z: Any' type=kotlin.Any origin=null
receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null
receiver: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
FUN GENERATED_DATA_CLASS_MEMBER public final operator fun component1(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1
BLOCK_BODY
RETURN type=kotlin.Nothing from='component1(): Int'
CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$this: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
FUN GENERATED_DATA_CLASS_MEMBER public final operator fun component2(): kotlin.String
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1
BLOCK_BODY
RETURN type=kotlin.Nothing from='component2(): String'
CALL '<get-y>(): String' type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$this: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
FUN GENERATED_DATA_CLASS_MEMBER public final operator fun component3(): kotlin.Any
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1
BLOCK_BODY
RETURN type=kotlin.Nothing from='component3(): Any'
CALL '<get-z>(): Any' type=kotlin.Any origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$this: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
FUN GENERATED_DATA_CLASS_MEMBER public final fun copy(x: kotlin.Int = ..., y: kotlin.String = ..., z: kotlin.Any = ...): Test1
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1
VALUE_PARAMETER value-parameter x: kotlin.Int = ...
EXPRESSION_BODY
CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$this: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
VALUE_PARAMETER value-parameter y: kotlin.String = ...
EXPRESSION_BODY
CALL '<get-y>(): String' type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$this: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
VALUE_PARAMETER value-parameter z: kotlin.Any = ...
EXPRESSION_BODY
CALL '<get-z>(): Any' type=kotlin.Any origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$this: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
BLOCK_BODY
RETURN type=kotlin.Nothing from='copy(Int = ..., String = ..., Any = ...): Test1'
CALL 'constructor Test1(Int, String, Any)' type=Test1 origin=null
@@ -77,32 +77,32 @@ FILE /dataClasses.kt
y: GET_VAR 'value-parameter y: String = ...' type=kotlin.String origin=null
z: GET_VAR 'value-parameter z: Any = ...' type=kotlin.Any origin=null
FUN GENERATED_DATA_CLASS_MEMBER public open override fun toString(): kotlin.String
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1
BLOCK_BODY
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>(): Int' type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$this: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
CONST String type=kotlin.String value=', '
CONST String type=kotlin.String value='y='
CALL '<get-y>(): String' type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$this: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
CONST String type=kotlin.String value=', '
CONST String type=kotlin.String value='z='
CALL '<get-z>(): Any' type=kotlin.Any origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$this: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
CONST String type=kotlin.String value=')'
FUN GENERATED_DATA_CLASS_MEMBER public open override fun hashCode(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1
BLOCK_BODY
VAR IR_TEMPORARY_VARIABLE var tmp0_result: kotlin.Int
CONST Int type=kotlin.Int value='0'
SET_VAR 'tmp0_result: Int' type=kotlin.Unit origin=EQ
CALL 'hashCode(): Int' type=kotlin.Int origin=null
$this: CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$this: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
SET_VAR 'tmp0_result: Int' type=kotlin.Unit origin=EQ
CALL 'plus(Int): Int' type=kotlin.Int origin=null
$this: CALL 'times(Int): Int' type=kotlin.Int origin=null
@@ -110,7 +110,7 @@ FILE /dataClasses.kt
other: CONST Int type=kotlin.Int value='31'
other: CALL 'hashCode(): Int' type=kotlin.Int origin=null
$this: CALL '<get-y>(): String' type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$this: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
SET_VAR 'tmp0_result: Int' type=kotlin.Unit origin=EQ
CALL 'plus(Int): Int' type=kotlin.Int origin=null
$this: CALL 'times(Int): Int' type=kotlin.Int origin=null
@@ -118,17 +118,17 @@ FILE /dataClasses.kt
other: CONST Int type=kotlin.Int value='31'
other: CALL 'hashCode(): Int' type=kotlin.Int origin=null
$this: CALL '<get-z>(): Any' type=kotlin.Any origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$this: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
RETURN type=kotlin.Nothing from='hashCode(): Int'
GET_VAR 'tmp0_result: Int' type=kotlin.Int origin=null
FUN GENERATED_DATA_CLASS_MEMBER public open override fun equals(other: kotlin.Any?): kotlin.Boolean
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1
VALUE_PARAMETER value-parameter other: kotlin.Any?
BLOCK_BODY
WHEN type=kotlin.Unit origin=null
BRANCH
if: CALL 'EQEQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQEQ
arg0: GET_VAR '<receiver: Test1>' type=Test1 origin=null
arg0: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
arg1: GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value='true'
@@ -146,7 +146,7 @@ FILE /dataClasses.kt
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
arg0: CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$this: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
arg1: CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR 'tmp0_other_with_cast: Test1' type=Test1 origin=null
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
@@ -156,7 +156,7 @@ FILE /dataClasses.kt
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
arg0: CALL '<get-y>(): String' type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$this: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
arg1: CALL '<get-y>(): String' type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR 'tmp0_other_with_cast: Test1' type=Test1 origin=null
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
@@ -166,7 +166,7 @@ FILE /dataClasses.kt
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
arg0: CALL '<get-z>(): Any' type=kotlin.Any origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$this: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
arg1: CALL '<get-z>(): Any' type=kotlin.Any origin=GET_PROPERTY
$this: GET_VAR 'tmp0_other_with_cast: Test1' type=Test1 origin=null
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
@@ -174,7 +174,7 @@ FILE /dataClasses.kt
RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value='true'
CLASS CLASS Test2
$new: VALUE_PARAMETER <receiver: Test2>
$new: VALUE_PARAMETER this@Test2: Test2
CONSTRUCTOR public constructor Test2(x: kotlin.Any?)
VALUE_PARAMETER value-parameter x: kotlin.Any?
BLOCK_BODY
@@ -185,39 +185,39 @@ FILE /dataClasses.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x: Any?' type=kotlin.Any? origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Any?
$this: VALUE_PARAMETER <receiver: Test2>
$this: VALUE_PARAMETER this@Test2: Test2
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Any?'
GET_FIELD 'x: Any?' type=kotlin.Any? origin=null
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
receiver: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
FUN GENERATED_DATA_CLASS_MEMBER public final operator fun component1(): kotlin.Any?
$this: VALUE_PARAMETER <receiver: Test2>
$this: VALUE_PARAMETER this@Test2: Test2
BLOCK_BODY
RETURN type=kotlin.Nothing from='component1(): Any?'
CALL '<get-x>(): Any?' type=kotlin.Any? origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test2>' type=Test2 origin=null
$this: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
FUN GENERATED_DATA_CLASS_MEMBER public final fun copy(x: kotlin.Any? = ...): Test2
$this: VALUE_PARAMETER <receiver: Test2>
$this: VALUE_PARAMETER this@Test2: Test2
VALUE_PARAMETER value-parameter x: kotlin.Any? = ...
EXPRESSION_BODY
CALL '<get-x>(): Any?' type=kotlin.Any? origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test2>' type=Test2 origin=null
$this: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
BLOCK_BODY
RETURN type=kotlin.Nothing from='copy(Any? = ...): Test2'
CALL 'constructor Test2(Any?)' type=Test2 origin=null
x: GET_VAR 'value-parameter x: Any? = ...' type=kotlin.Any? origin=null
FUN GENERATED_DATA_CLASS_MEMBER public open override fun toString(): kotlin.String
$this: VALUE_PARAMETER <receiver: Test2>
$this: VALUE_PARAMETER this@Test2: Test2
BLOCK_BODY
RETURN type=kotlin.Nothing from='toString(): String'
STRING_CONCATENATION type=kotlin.String
CONST String type=kotlin.String value='Test2('
CONST String type=kotlin.String value='x='
CALL '<get-x>(): Any?' type=kotlin.Any? origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test2>' type=Test2 origin=null
$this: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
CONST String type=kotlin.String value=')'
FUN GENERATED_DATA_CLASS_MEMBER public open override fun hashCode(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test2>
$this: VALUE_PARAMETER this@Test2: Test2
BLOCK_BODY
VAR IR_TEMPORARY_VARIABLE var tmp0_result: kotlin.Int
CONST Int type=kotlin.Int value='0'
@@ -225,7 +225,7 @@ FILE /dataClasses.kt
BLOCK type=kotlin.Int origin=null
VAR IR_TEMPORARY_VARIABLE val tmp1: kotlin.Any?
CALL '<get-x>(): Any?' type=kotlin.Any? origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test2>' type=Test2 origin=null
$this: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
WHEN type=kotlin.Int origin=null
BRANCH
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
@@ -239,13 +239,13 @@ FILE /dataClasses.kt
RETURN type=kotlin.Nothing from='hashCode(): Int'
GET_VAR 'tmp0_result: Int' type=kotlin.Int origin=null
FUN GENERATED_DATA_CLASS_MEMBER public open override fun equals(other: kotlin.Any?): kotlin.Boolean
$this: VALUE_PARAMETER <receiver: Test2>
$this: VALUE_PARAMETER this@Test2: Test2
VALUE_PARAMETER value-parameter other: kotlin.Any?
BLOCK_BODY
WHEN type=kotlin.Unit origin=null
BRANCH
if: CALL 'EQEQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQEQ
arg0: GET_VAR '<receiver: Test2>' type=Test2 origin=null
arg0: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
arg1: GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value='true'
@@ -263,7 +263,7 @@ FILE /dataClasses.kt
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
arg0: CALL '<get-x>(): Any?' type=kotlin.Any? origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test2>' type=Test2 origin=null
$this: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
arg1: CALL '<get-x>(): Any?' type=kotlin.Any? origin=GET_PROPERTY
$this: GET_VAR 'tmp0_other_with_cast: Test2' type=Test2 origin=null
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
+14 -14
View File
@@ -1,6 +1,6 @@
FILE /dataClassesGeneric.kt
CLASS CLASS Test1
$new: VALUE_PARAMETER <receiver: Test1>
$new: VALUE_PARAMETER this@Test1: Test1<T>
TYPE_PARAMETER <T>
CONSTRUCTOR public constructor Test1<T>(x: T)
VALUE_PARAMETER value-parameter x: T
@@ -12,39 +12,39 @@ FILE /dataClassesGeneric.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x: T' type=T origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): T
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1<T>
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): T'
GET_FIELD 'x: T' type=T origin=null
receiver: GET_VAR '<receiver: Test1>' type=Test1<T> origin=null
receiver: GET_VAR 'this@Test1: Test1<T>' type=Test1<T> origin=null
FUN GENERATED_DATA_CLASS_MEMBER public final operator fun component1(): T
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1<T>
BLOCK_BODY
RETURN type=kotlin.Nothing from='component1(): T'
CALL '<get-x>(): T' type=T origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1<T> origin=null
$this: GET_VAR 'this@Test1: Test1<T>' type=Test1<T> origin=null
FUN GENERATED_DATA_CLASS_MEMBER public final fun copy(x: T = ...): Test1<T>
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1<T>
VALUE_PARAMETER value-parameter x: T = ...
EXPRESSION_BODY
CALL '<get-x>(): T' type=T origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1<T> origin=null
$this: GET_VAR 'this@Test1: Test1<T>' type=Test1<T> origin=null
BLOCK_BODY
RETURN type=kotlin.Nothing from='copy(T = ...): Test1<T>'
CALL 'constructor Test1(T)' type=Test1<T> origin=null
x: GET_VAR 'value-parameter x: T = ...' type=T origin=null
FUN GENERATED_DATA_CLASS_MEMBER public open override fun toString(): kotlin.String
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1<T>
BLOCK_BODY
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>(): T' type=T origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1<T> origin=null
$this: GET_VAR 'this@Test1: Test1<T>' type=Test1<T> origin=null
CONST String type=kotlin.String value=')'
FUN GENERATED_DATA_CLASS_MEMBER public open override fun hashCode(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1<T>
BLOCK_BODY
VAR IR_TEMPORARY_VARIABLE var tmp0_result: kotlin.Int
CONST Int type=kotlin.Int value='0'
@@ -52,7 +52,7 @@ FILE /dataClassesGeneric.kt
BLOCK type=kotlin.Int origin=null
VAR IR_TEMPORARY_VARIABLE val tmp1: T
CALL '<get-x>(): T' type=T origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1<T> origin=null
$this: GET_VAR 'this@Test1: Test1<T>' type=Test1<T> origin=null
WHEN type=kotlin.Int origin=null
BRANCH
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
@@ -67,13 +67,13 @@ FILE /dataClassesGeneric.kt
RETURN type=kotlin.Nothing from='hashCode(): Int'
GET_VAR 'tmp0_result: Int' type=kotlin.Int origin=null
FUN GENERATED_DATA_CLASS_MEMBER public open override fun equals(other: kotlin.Any?): kotlin.Boolean
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1<T>
VALUE_PARAMETER value-parameter other: kotlin.Any?
BLOCK_BODY
WHEN type=kotlin.Unit origin=null
BRANCH
if: CALL 'EQEQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQEQ
arg0: GET_VAR '<receiver: Test1>' type=Test1<T> origin=null
arg0: GET_VAR 'this@Test1: Test1<T>' type=Test1<T> origin=null
arg1: GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value='true'
@@ -91,7 +91,7 @@ FILE /dataClassesGeneric.kt
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
arg0: CALL '<get-x>(): T' type=T origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test1>' type=Test1<T> origin=null
$this: GET_VAR 'this@Test1: Test1<T>' type=Test1<T> origin=null
arg1: CALL '<get-x>(): T' type=T origin=GET_PROPERTY
$this: GET_VAR 'tmp0_other_with_cast: Test1<T>' type=Test1<T> origin=null
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
@@ -1,36 +1,36 @@
FILE /delegatedImplementation.kt
CLASS INTERFACE IBase
FUN public abstract fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
$this: VALUE_PARAMETER <receiver: IBase>
$this: VALUE_PARAMETER this@IBase: IBase
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter s: kotlin.String
FUN public abstract fun bar(): kotlin.Int
$this: VALUE_PARAMETER <receiver: IBase>
$this: VALUE_PARAMETER this@IBase: IBase
FUN public abstract fun kotlin.String.qux(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: IBase>
$receiver: VALUE_PARAMETER <receiver: qux() on String: Unit>
$this: VALUE_PARAMETER this@IBase: IBase
$receiver: VALUE_PARAMETER this@qux: String
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT BaseImpl
$new: VALUE_PARAMETER <receiver: BaseImpl>
$new: VALUE_PARAMETER this@BaseImpl: BaseImpl
CONSTRUCTOR private constructor BaseImpl()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='BaseImpl'
FUN public open override fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
$this: VALUE_PARAMETER <receiver: BaseImpl>
$this: VALUE_PARAMETER this@BaseImpl: BaseImpl
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter s: kotlin.String
BLOCK_BODY
FUN public open override fun bar(): kotlin.Int
$this: VALUE_PARAMETER <receiver: BaseImpl>
$this: VALUE_PARAMETER this@BaseImpl: BaseImpl
BLOCK_BODY
RETURN type=kotlin.Nothing from='bar(): Int'
CONST Int type=kotlin.Int value='42'
FUN public open override fun kotlin.String.qux(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: BaseImpl>
$receiver: VALUE_PARAMETER <receiver: qux() on String: Unit>
$this: VALUE_PARAMETER this@BaseImpl: BaseImpl
$receiver: VALUE_PARAMETER this@qux: String
BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
@@ -38,24 +38,24 @@ FILE /delegatedImplementation.kt
CLASS INTERFACE IOther
PROPERTY public abstract val x: kotlin.String
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <get-x>(): kotlin.String
$this: VALUE_PARAMETER <receiver: IOther>
$this: VALUE_PARAMETER this@IOther: IOther
PROPERTY public abstract var y: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <get-y>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: IOther>
$this: VALUE_PARAMETER this@IOther: IOther
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun <set-y>(<set-?>: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: IOther>
$this: VALUE_PARAMETER this@IOther: IOther
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
PROPERTY public abstract val kotlin.Byte.z1: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun kotlin.Byte.<get-z1>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: IOther>
$receiver: VALUE_PARAMETER <receiver: z1: Int on Byte>
$this: VALUE_PARAMETER this@IOther: IOther
$receiver: VALUE_PARAMETER this@z1: Byte
PROPERTY public abstract var kotlin.Byte.z2: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun kotlin.Byte.<get-z2>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: IOther>
$receiver: VALUE_PARAMETER <receiver: z2: Int on Byte>
$this: VALUE_PARAMETER this@IOther: IOther
$receiver: VALUE_PARAMETER this@z2: Byte
FUN DEFAULT_PROPERTY_ACCESSOR public abstract fun kotlin.Byte.<set-z2>(<set-?>: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: IOther>
$receiver: VALUE_PARAMETER <receiver: z2: Int on Byte>
$this: VALUE_PARAMETER this@IOther: IOther
$receiver: VALUE_PARAMETER this@z2: Byte
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
@@ -67,7 +67,7 @@ FILE /delegatedImplementation.kt
RETURN type=kotlin.Nothing from='otherImpl(String, Int): IOther'
BLOCK type=otherImpl.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS <no name provided>
$new: VALUE_PARAMETER <receiver: <no name provided>>
$new: VALUE_PARAMETER this@<no name provided>: <no name provided>
CONSTRUCTOR public constructor <no name provided>()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -77,45 +77,45 @@ FILE /delegatedImplementation.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x0: String' type=kotlin.String origin=null
FUN DEFAULT_PROPERTY_ACCESSOR public open override fun <get-x>(): kotlin.String
$this: VALUE_PARAMETER <receiver: <no name provided>>
$this: VALUE_PARAMETER this@<no name provided>: <no name provided>
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): String'
GET_FIELD 'x: String' type=kotlin.String origin=null
receiver: GET_VAR '<receiver: <no name provided>>' type=otherImpl.<no name provided> origin=null
receiver: GET_VAR 'this@<no name provided>: <no name provided>' type=otherImpl.<no name provided> origin=null
PROPERTY public open override var y: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public open override var y: kotlin.Int
EXPRESSION_BODY
GET_VAR 'value-parameter y0: Int' type=kotlin.Int origin=null
FUN DEFAULT_PROPERTY_ACCESSOR public open override fun <get-y>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: <no name provided>>
$this: VALUE_PARAMETER this@<no name provided>: <no name provided>
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-y>(): Int'
GET_FIELD 'y: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: <no name provided>>' type=otherImpl.<no name provided> origin=null
receiver: GET_VAR 'this@<no name provided>: <no name provided>' type=otherImpl.<no name provided> origin=null
FUN DEFAULT_PROPERTY_ACCESSOR public open override fun <set-y>(<set-?>: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: <no name provided>>
$this: VALUE_PARAMETER this@<no name provided>: <no name provided>
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
BLOCK_BODY
SET_FIELD 'y: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: <no name provided>>' type=otherImpl.<no name provided> origin=null
receiver: GET_VAR 'this@<no name provided>: <no name provided>' type=otherImpl.<no name provided> origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
PROPERTY public open override val kotlin.Byte.z1: kotlin.Int
FUN public open override fun kotlin.Byte.<get-z1>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: <no name provided>>
$receiver: VALUE_PARAMETER <receiver: z1: Int on Byte>
$this: VALUE_PARAMETER this@<no name provided>: <no name provided>
$receiver: VALUE_PARAMETER this@z1: Byte
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-z1>() on Byte: Int'
CONST Int type=kotlin.Int value='1'
PROPERTY public open override var kotlin.Byte.z2: kotlin.Int
FUN public open override fun kotlin.Byte.<get-z2>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: <no name provided>>
$receiver: VALUE_PARAMETER <receiver: z2: Int on Byte>
$this: VALUE_PARAMETER this@<no name provided>: <no name provided>
$receiver: VALUE_PARAMETER this@z2: Byte
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-z2>() on Byte: Int'
CONST Int type=kotlin.Int value='2'
FUN public open override fun kotlin.Byte.<set-z2>(value: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: <no name provided>>
$receiver: VALUE_PARAMETER <receiver: z2: Int on Byte>
$this: VALUE_PARAMETER this@<no name provided>: <no name provided>
$receiver: VALUE_PARAMETER this@z2: Byte
VALUE_PARAMETER value-parameter value: kotlin.Int
BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
@@ -123,7 +123,7 @@ FILE /delegatedImplementation.kt
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CALL 'constructor <no name provided>()' type=otherImpl.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS Test1
$new: VALUE_PARAMETER <receiver: Test1>
$new: VALUE_PARAMETER this@Test1: Test1
CONSTRUCTOR public constructor Test1()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -132,35 +132,35 @@ FILE /delegatedImplementation.kt
EXPRESSION_BODY
GET_OBJECT 'BaseImpl' type=BaseImpl
FUN DELEGATED_MEMBER public open override fun bar(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1
BLOCK_BODY
RETURN type=kotlin.Nothing from='bar(): Int'
CALL 'bar(): Int' type=kotlin.Int origin=null
$this: GET_FIELD '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null
receiver: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
FUN DELEGATED_MEMBER public open override fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter s: kotlin.String
BLOCK_BODY
CALL 'foo(Int, String): Unit' type=kotlin.Unit origin=null
$this: GET_FIELD '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null
receiver: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
s: GET_VAR 'value-parameter s: String' type=kotlin.String origin=null
FUN DELEGATED_MEMBER public open override fun kotlin.String.qux(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Test1>
$receiver: VALUE_PARAMETER <receiver: qux() on String: Unit>
$this: VALUE_PARAMETER this@Test1: Test1
$receiver: VALUE_PARAMETER this@qux: String
BLOCK_BODY
CALL 'qux() on String: Unit' type=kotlin.Unit origin=null
$this: GET_FIELD '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null
$receiver: GET_VAR '<receiver: qux() on String: Unit>' type=kotlin.String origin=null
receiver: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
$receiver: GET_VAR 'this@qux: String' type=kotlin.String origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2
$new: VALUE_PARAMETER <receiver: Test2>
$new: VALUE_PARAMETER this@Test2: Test2
CONSTRUCTOR public constructor Test2()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -169,30 +169,30 @@ FILE /delegatedImplementation.kt
EXPRESSION_BODY
GET_OBJECT 'BaseImpl' type=BaseImpl
FUN DELEGATED_MEMBER public open override fun bar(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test2>
$this: VALUE_PARAMETER this@Test2: Test2
BLOCK_BODY
RETURN type=kotlin.Nothing from='bar(): Int'
CALL 'bar(): Int' type=kotlin.Int origin=null
$this: GET_FIELD '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
receiver: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
FUN DELEGATED_MEMBER public open override fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Test2>
$this: VALUE_PARAMETER this@Test2: Test2
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter s: kotlin.String
BLOCK_BODY
CALL 'foo(Int, String): Unit' type=kotlin.Unit origin=null
$this: GET_FIELD '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
receiver: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
s: GET_VAR 'value-parameter s: String' type=kotlin.String origin=null
FUN DELEGATED_MEMBER public open override fun kotlin.String.qux(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Test2>
$receiver: VALUE_PARAMETER <receiver: qux() on String: Unit>
$this: VALUE_PARAMETER this@Test2: Test2
$receiver: VALUE_PARAMETER this@qux: String
BLOCK_BODY
CALL 'qux() on String: Unit' type=kotlin.Unit origin=null
$this: GET_FIELD '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
$receiver: GET_VAR '<receiver: qux() on String: Unit>' type=kotlin.String origin=null
receiver: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
$receiver: GET_VAR 'this@qux: String' type=kotlin.String origin=null
FIELD DELEGATE val `Test2$IOther$delegate`: IOther
EXPRESSION_BODY
CALL 'otherImpl(String, Int): IOther' type=IOther origin=null
@@ -200,57 +200,57 @@ FILE /delegatedImplementation.kt
y0: CONST Int type=kotlin.Int value='42'
PROPERTY DELEGATED_MEMBER public open override val kotlin.Byte.z1: kotlin.Int
FUN DELEGATED_MEMBER public open override fun kotlin.Byte.<get-z1>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test2>
$receiver: VALUE_PARAMETER <receiver: z1: Int on Byte>
$this: VALUE_PARAMETER this@Test2: Test2
$receiver: VALUE_PARAMETER this@z1: Byte
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-z1>() on Byte: Int'
CALL '<get-z1>() on Byte: Int' type=kotlin.Int origin=null
$this: GET_FIELD '`Test2$IOther$delegate`: IOther' type=IOther origin=null
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
$receiver: GET_VAR '<receiver: z1: Int on Byte>' type=kotlin.Byte origin=null
receiver: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
$receiver: GET_VAR 'this@z1: Byte' type=kotlin.Byte origin=null
PROPERTY DELEGATED_MEMBER public open override val x: kotlin.String
FUN DELEGATED_MEMBER public open override fun <get-x>(): kotlin.String
$this: VALUE_PARAMETER <receiver: Test2>
$this: VALUE_PARAMETER this@Test2: Test2
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): String'
CALL '<get-x>(): String' type=kotlin.String origin=null
$this: GET_FIELD '`Test2$IOther$delegate`: IOther' type=IOther origin=null
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
receiver: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
PROPERTY DELEGATED_MEMBER public open override var kotlin.Byte.z2: kotlin.Int
FUN DELEGATED_MEMBER public open override fun kotlin.Byte.<get-z2>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test2>
$receiver: VALUE_PARAMETER <receiver: z2: Int on Byte>
$this: VALUE_PARAMETER this@Test2: Test2
$receiver: VALUE_PARAMETER this@z2: Byte
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-z2>() on Byte: Int'
CALL '<get-z2>() on Byte: Int' type=kotlin.Int origin=null
$this: GET_FIELD '`Test2$IOther$delegate`: IOther' type=IOther origin=null
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
$receiver: GET_VAR '<receiver: z2: Int on Byte>' type=kotlin.Byte origin=null
receiver: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
$receiver: GET_VAR 'this@z2: Byte' type=kotlin.Byte origin=null
FUN DELEGATED_MEMBER public open override fun kotlin.Byte.<set-z2>(<set-?>: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Test2>
$receiver: VALUE_PARAMETER <receiver: z2: Int on Byte>
$this: VALUE_PARAMETER this@Test2: Test2
$receiver: VALUE_PARAMETER this@z2: Byte
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
BLOCK_BODY
CALL '<set-z2>(Int) on Byte: Unit' type=kotlin.Unit origin=null
$this: GET_FIELD '`Test2$IOther$delegate`: IOther' type=IOther origin=null
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
$receiver: GET_VAR '<receiver: z2: Int on Byte>' type=kotlin.Byte origin=null
receiver: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
$receiver: GET_VAR 'this@z2: Byte' type=kotlin.Byte origin=null
<set-?>: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
PROPERTY DELEGATED_MEMBER public open override var y: kotlin.Int
FUN DELEGATED_MEMBER public open override fun <get-y>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test2>
$this: VALUE_PARAMETER this@Test2: Test2
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-y>(): Int'
CALL '<get-y>(): Int' type=kotlin.Int origin=null
$this: GET_FIELD '`Test2$IOther$delegate`: IOther' type=IOther origin=null
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
receiver: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
FUN DELEGATED_MEMBER public open override fun <set-y>(<set-?>: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Test2>
$this: VALUE_PARAMETER this@Test2: Test2
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
BLOCK_BODY
CALL '<set-y>(Int): Unit' type=kotlin.Unit origin=null
$this: GET_FIELD '`Test2$IOther$delegate`: IOther' type=IOther origin=null
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
receiver: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
<set-?>: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
@@ -1,29 +1,29 @@
FILE /delegatedImplementationWithExplicitOverride.kt
CLASS INTERFACE IFooBar
FUN public abstract fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: IFooBar>
$this: VALUE_PARAMETER this@IFooBar: IFooBar
FUN public abstract fun bar(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: IFooBar>
$this: VALUE_PARAMETER this@IFooBar: IFooBar
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT FooBarImpl
$new: VALUE_PARAMETER <receiver: FooBarImpl>
$new: VALUE_PARAMETER this@FooBarImpl: FooBarImpl
CONSTRUCTOR private constructor FooBarImpl()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='FooBarImpl'
FUN public open override fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: FooBarImpl>
$this: VALUE_PARAMETER this@FooBarImpl: FooBarImpl
BLOCK_BODY
FUN public open override fun bar(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: FooBarImpl>
$this: VALUE_PARAMETER this@FooBarImpl: FooBarImpl
BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS C
$new: VALUE_PARAMETER <receiver: C>
$new: VALUE_PARAMETER this@C: C
CONSTRUCTOR public constructor C()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -32,13 +32,13 @@ FILE /delegatedImplementationWithExplicitOverride.kt
EXPRESSION_BODY
GET_OBJECT 'FooBarImpl' type=FooBarImpl
FUN DELEGATED_MEMBER public open override fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: C>
$this: VALUE_PARAMETER this@C: C
BLOCK_BODY
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_FIELD '`C$IFooBar$delegate`: FooBarImpl' type=FooBarImpl origin=null
receiver: GET_VAR '<receiver: C>' type=C origin=null
receiver: GET_VAR 'this@C: C' type=C origin=null
FUN public open override fun bar(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: C>
$this: VALUE_PARAMETER this@C: C
BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
@@ -1,6 +1,6 @@
FILE /delegatingConstructorCallToTypeAliasConstructor.kt
CLASS CLASS Cell
$new: VALUE_PARAMETER <receiver: Cell>
$new: VALUE_PARAMETER this@Cell: Cell<T>
TYPE_PARAMETER <T>
CONSTRUCTOR public constructor Cell<T>(value: T)
VALUE_PARAMETER value-parameter value: T
@@ -12,18 +12,18 @@ FILE /delegatingConstructorCallToTypeAliasConstructor.kt
EXPRESSION_BODY
GET_VAR 'value-parameter value: T' type=T origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-value>(): T
$this: VALUE_PARAMETER <receiver: Cell>
$this: VALUE_PARAMETER this@Cell: Cell<T>
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-value>(): T'
GET_FIELD 'value: T' type=T origin=null
receiver: GET_VAR '<receiver: Cell>' type=Cell<T> origin=null
receiver: GET_VAR 'this@Cell: Cell<T>' type=Cell<T> origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
TYPEALIAS typealias CT = Cell<T> type=Cell<T>
TYPEALIAS typealias CStr = Cell<String> type=Cell<kotlin.String>
CLASS CLASS C1
$new: VALUE_PARAMETER <receiver: C1>
$new: VALUE_PARAMETER this@C1: C1
CONSTRUCTOR public constructor C1()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Cell(String)'
@@ -35,7 +35,7 @@ FILE /delegatingConstructorCallToTypeAliasConstructor.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS C2
$new: VALUE_PARAMETER <receiver: C2>
$new: VALUE_PARAMETER this@C2: C2
CONSTRUCTOR public constructor C2()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Cell(String)'
@@ -1,6 +1,6 @@
FILE /delegatingConstructorCallsInSecondaryConstructors.kt
CLASS CLASS Base
$new: VALUE_PARAMETER <receiver: Base>
$new: VALUE_PARAMETER this@Base: Base
CONSTRUCTOR public constructor Base()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -9,7 +9,7 @@ FILE /delegatingConstructorCallsInSecondaryConstructors.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test
$new: VALUE_PARAMETER <receiver: Test>
$new: VALUE_PARAMETER this@Test: Test
CONSTRUCTOR public constructor Test()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
+23 -23
View File
@@ -1,6 +1,6 @@
FILE /enum.kt
CLASS ENUM_CLASS TestEnum1
$new: VALUE_PARAMETER <receiver: TestEnum1>
$new: VALUE_PARAMETER this@TestEnum1: TestEnum1
CONSTRUCTOR private constructor TestEnum1()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
@@ -25,7 +25,7 @@ FILE /enum.kt
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum1
SYNTHETIC_BODY kind=ENUM_VALUEOF
CLASS ENUM_CLASS TestEnum2
$new: VALUE_PARAMETER <receiver: TestEnum2>
$new: VALUE_PARAMETER this@TestEnum2: TestEnum2
CONSTRUCTOR private constructor TestEnum2(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -36,11 +36,11 @@ FILE /enum.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TestEnum2>
$this: VALUE_PARAMETER this@TestEnum2: TestEnum2
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestEnum2>' type=TestEnum2 origin=null
receiver: GET_VAR 'this@TestEnum2: TestEnum2' type=TestEnum2 origin=null
ENUM_ENTRY enum entry TEST1
init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum2(Int)'
x: CONST Int type=kotlin.Int value='1'
@@ -66,7 +66,7 @@ FILE /enum.kt
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum2
SYNTHETIC_BODY kind=ENUM_VALUEOF
CLASS ENUM_CLASS TestEnum3
$new: VALUE_PARAMETER <receiver: TestEnum3>
$new: VALUE_PARAMETER this@TestEnum3: TestEnum3
CONSTRUCTOR private constructor TestEnum3()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
@@ -74,13 +74,13 @@ FILE /enum.kt
ENUM_ENTRY enum entry TEST
init: ENUM_CONSTRUCTOR_CALL 'constructor TEST()'
class: CLASS ENUM_ENTRY TEST
$new: VALUE_PARAMETER <receiver: TEST>
$new: VALUE_PARAMETER this@TEST: TEST
CONSTRUCTOR private constructor TEST()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor TestEnum3()'
INSTANCE_INITIALIZER_CALL classDescriptor='TEST'
FUN public open override fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: TEST>
$this: VALUE_PARAMETER this@TEST: TEST
BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='Hello, world!'
@@ -96,7 +96,7 @@ FILE /enum.kt
FUN FAKE_OVERRIDE public final override fun <get-ordinal>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public abstract fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: TestEnum3>
$this: VALUE_PARAMETER this@TestEnum3: TestEnum3
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<TestEnum3!>!
@@ -113,7 +113,7 @@ FILE /enum.kt
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum3
SYNTHETIC_BODY kind=ENUM_VALUEOF
CLASS ENUM_CLASS TestEnum4
$new: VALUE_PARAMETER <receiver: TestEnum4>
$new: VALUE_PARAMETER this@TestEnum4: TestEnum4
CONSTRUCTOR private constructor TestEnum4(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -124,22 +124,22 @@ FILE /enum.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TestEnum4>
$this: VALUE_PARAMETER this@TestEnum4: TestEnum4
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestEnum4>' type=TestEnum4 origin=null
receiver: GET_VAR 'this@TestEnum4: TestEnum4' type=TestEnum4 origin=null
ENUM_ENTRY enum entry TEST1
init: ENUM_CONSTRUCTOR_CALL 'constructor TEST1()'
class: CLASS ENUM_ENTRY TEST1
$new: VALUE_PARAMETER <receiver: TEST1>
$new: VALUE_PARAMETER this@TEST1: TEST1
CONSTRUCTOR private constructor TEST1()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor TestEnum4(Int)'
x: CONST Int type=kotlin.Int value='1'
INSTANCE_INITIALIZER_CALL classDescriptor='TEST1'
FUN public open override fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: TEST1>
$this: VALUE_PARAMETER this@TEST1: TEST1
BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: GET_ENUM 'TEST1' type=TestEnum4
@@ -159,7 +159,7 @@ FILE /enum.kt
ENUM_ENTRY enum entry TEST2
init: ENUM_CONSTRUCTOR_CALL 'constructor TEST2()'
class: CLASS ENUM_ENTRY TEST2
$new: VALUE_PARAMETER <receiver: TEST2>
$new: VALUE_PARAMETER this@TEST2: TEST2
CONSTRUCTOR private constructor TEST2()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor TestEnum4(Int)'
@@ -168,19 +168,19 @@ FILE /enum.kt
PROPERTY public final val z: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final val z: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-z>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TEST2>
$this: VALUE_PARAMETER this@TEST2: TEST2
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-z>(): Int'
GET_FIELD 'z: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TEST2>' type=TestEnum4.TEST2 origin=null
receiver: GET_VAR 'this@TEST2: TEST2' type=TestEnum4.TEST2 origin=null
ANONYMOUS_INITIALIZER TEST2
BLOCK_BODY
SET_FIELD 'z: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: TEST2>' type=TestEnum4.TEST2 origin=null
receiver: GET_VAR 'this@TEST2: TEST2' type=TestEnum4.TEST2 origin=null
value: CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR '<receiver: TEST2>' type=TestEnum4.TEST2 origin=null
$this: GET_VAR 'this@TEST2: TEST2' type=TestEnum4.TEST2 origin=null
FUN public open override fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: TEST2>
$this: VALUE_PARAMETER this@TEST2: TEST2
BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: GET_ENUM 'TEST2' type=TestEnum4
@@ -198,7 +198,7 @@ FILE /enum.kt
FUN FAKE_OVERRIDE public final override fun <get-x>(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public abstract fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: TestEnum4>
$this: VALUE_PARAMETER this@TestEnum4: TestEnum4
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<TestEnum4!>!
@@ -215,7 +215,7 @@ FILE /enum.kt
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum4
SYNTHETIC_BODY kind=ENUM_VALUEOF
CLASS ENUM_CLASS TestEnum5
$new: VALUE_PARAMETER <receiver: TestEnum5>
$new: VALUE_PARAMETER this@TestEnum5: TestEnum5
CONSTRUCTOR private constructor TestEnum5(x: kotlin.Int = ...)
VALUE_PARAMETER value-parameter x: kotlin.Int = ...
EXPRESSION_BODY
@@ -228,11 +228,11 @@ FILE /enum.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x: Int = ...' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TestEnum5>
$this: VALUE_PARAMETER this@TestEnum5: TestEnum5
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestEnum5>' type=TestEnum5 origin=null
receiver: GET_VAR 'this@TestEnum5: TestEnum5' type=TestEnum5 origin=null
ENUM_ENTRY enum entry TEST1
init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum5(Int = ...)'
ENUM_ENTRY enum entry TEST2
+14 -14
View File
@@ -1,6 +1,6 @@
FILE /enumWithSecondaryCtor.kt
CLASS ENUM_CLASS Test0
$new: VALUE_PARAMETER <receiver: Test0>
$new: VALUE_PARAMETER this@Test0: Test0
CONSTRUCTOR private constructor Test0(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -11,11 +11,11 @@ FILE /enumWithSecondaryCtor.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test0>
$this: VALUE_PARAMETER this@Test0: Test0
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test0>' type=Test0 origin=null
receiver: GET_VAR 'this@Test0: Test0' type=Test0 origin=null
ENUM_ENTRY enum entry ZERO
init: ENUM_CONSTRUCTOR_CALL 'constructor Test0()'
CONSTRUCTOR private constructor Test0()
@@ -38,7 +38,7 @@ FILE /enumWithSecondaryCtor.kt
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Test0
SYNTHETIC_BODY kind=ENUM_VALUEOF
CLASS ENUM_CLASS Test1
$new: VALUE_PARAMETER <receiver: Test1>
$new: VALUE_PARAMETER this@Test1: Test1
CONSTRUCTOR private constructor Test1(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -49,11 +49,11 @@ FILE /enumWithSecondaryCtor.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null
receiver: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
ENUM_ENTRY enum entry ZERO
init: ENUM_CONSTRUCTOR_CALL 'constructor Test1()'
ENUM_ENTRY enum entry ONE
@@ -79,7 +79,7 @@ FILE /enumWithSecondaryCtor.kt
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Test1
SYNTHETIC_BODY kind=ENUM_VALUEOF
CLASS ENUM_CLASS Test2
$new: VALUE_PARAMETER <receiver: Test2>
$new: VALUE_PARAMETER this@Test2: Test2
CONSTRUCTOR private constructor Test2(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -90,21 +90,21 @@ FILE /enumWithSecondaryCtor.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test2>
$this: VALUE_PARAMETER this@Test2: Test2
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
receiver: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
ENUM_ENTRY enum entry ZERO
init: ENUM_CONSTRUCTOR_CALL 'constructor ZERO()'
class: CLASS ENUM_ENTRY ZERO
$new: VALUE_PARAMETER <receiver: ZERO>
$new: VALUE_PARAMETER this@ZERO: ZERO
CONSTRUCTOR private constructor ZERO()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor Test2()'
INSTANCE_INITIALIZER_CALL classDescriptor='ZERO'
FUN public open override fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: ZERO>
$this: VALUE_PARAMETER this@ZERO: ZERO
BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='ZERO'
@@ -124,14 +124,14 @@ FILE /enumWithSecondaryCtor.kt
ENUM_ENTRY enum entry ONE
init: ENUM_CONSTRUCTOR_CALL 'constructor ONE()'
class: CLASS ENUM_ENTRY ONE
$new: VALUE_PARAMETER <receiver: ONE>
$new: VALUE_PARAMETER this@ONE: ONE
CONSTRUCTOR private constructor ONE()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor Test2(Int)'
x: CONST Int type=kotlin.Int value='1'
INSTANCE_INITIALIZER_CALL classDescriptor='ONE'
FUN public open override fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: ONE>
$this: VALUE_PARAMETER this@ONE: ONE
BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='ONE'
@@ -153,7 +153,7 @@ FILE /enumWithSecondaryCtor.kt
DELEGATING_CONSTRUCTOR_CALL 'constructor Test2(Int)'
x: CONST Int type=kotlin.Int value='0'
FUN public abstract fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Test2>
$this: VALUE_PARAMETER this@Test2: Test2
FUN FAKE_OVERRIDE protected final override fun clone(): kotlin.Any
FUN FAKE_OVERRIDE protected/*protected and package*/ final override fun finalize(): kotlin.Unit
FUN FAKE_OVERRIDE public final override fun getDeclaringClass(): java.lang.Class<Test2!>!
+9 -9
View File
@@ -1,6 +1,6 @@
FILE /initBlock.kt
CLASS CLASS Test1
$new: VALUE_PARAMETER <receiver: Test1>
$new: VALUE_PARAMETER this@Test1: Test1
CONSTRUCTOR public constructor Test1()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -12,7 +12,7 @@ FILE /initBlock.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2
$new: VALUE_PARAMETER <receiver: Test2>
$new: VALUE_PARAMETER this@Test2: Test2
CONSTRUCTOR public constructor Test2(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -23,11 +23,11 @@ FILE /initBlock.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test2>
$this: VALUE_PARAMETER this@Test2: Test2
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
receiver: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
ANONYMOUS_INITIALIZER Test2
BLOCK_BODY
CALL 'println(): Unit' type=kotlin.Unit origin=null
@@ -35,7 +35,7 @@ FILE /initBlock.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test3
$new: VALUE_PARAMETER <receiver: Test3>
$new: VALUE_PARAMETER this@Test3: Test3
ANONYMOUS_INITIALIZER Test3
BLOCK_BODY
CALL 'println(): Unit' type=kotlin.Unit origin=null
@@ -47,7 +47,7 @@ FILE /initBlock.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test4
$new: VALUE_PARAMETER <receiver: Test4>
$new: VALUE_PARAMETER this@Test4: Test4
ANONYMOUS_INITIALIZER Test4
BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
@@ -64,7 +64,7 @@ FILE /initBlock.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test5
$new: VALUE_PARAMETER <receiver: Test5>
$new: VALUE_PARAMETER this@Test5: Test5
CONSTRUCTOR public constructor Test5()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -74,9 +74,9 @@ FILE /initBlock.kt
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='1'
CLASS CLASS TestInner
$new: VALUE_PARAMETER <receiver: TestInner>
$new: VALUE_PARAMETER this@TestInner: TestInner
CONSTRUCTOR public constructor TestInner()
$outer: VALUE_PARAMETER <receiver: Test5>
$outer: VALUE_PARAMETER this@Test5: Test5
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='TestInner'
+10 -10
View File
@@ -1,6 +1,6 @@
FILE /initVal.kt
CLASS CLASS TestInitValFromParameter
$new: VALUE_PARAMETER <receiver: TestInitValFromParameter>
$new: VALUE_PARAMETER this@TestInitValFromParameter: TestInitValFromParameter
CONSTRUCTOR public constructor TestInitValFromParameter(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -11,16 +11,16 @@ FILE /initVal.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TestInitValFromParameter>
$this: VALUE_PARAMETER this@TestInitValFromParameter: TestInitValFromParameter
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestInitValFromParameter>' type=TestInitValFromParameter origin=null
receiver: GET_VAR 'this@TestInitValFromParameter: TestInitValFromParameter' type=TestInitValFromParameter origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitValInClass
$new: VALUE_PARAMETER <receiver: TestInitValInClass>
$new: VALUE_PARAMETER this@TestInitValInClass: TestInitValInClass
CONSTRUCTOR public constructor TestInitValInClass()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -30,16 +30,16 @@ FILE /initVal.kt
EXPRESSION_BODY
CONST Int type=kotlin.Int value='0'
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TestInitValInClass>
$this: VALUE_PARAMETER this@TestInitValInClass: TestInitValInClass
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestInitValInClass>' type=TestInitValInClass origin=null
receiver: GET_VAR 'this@TestInitValInClass: TestInitValInClass' type=TestInitValInClass origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitValInInitBlock
$new: VALUE_PARAMETER <receiver: TestInitValInInitBlock>
$new: VALUE_PARAMETER this@TestInitValInInitBlock: TestInitValInInitBlock
CONSTRUCTOR public constructor TestInitValInInitBlock()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -47,15 +47,15 @@ FILE /initVal.kt
PROPERTY public final val x: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TestInitValInInitBlock>
$this: VALUE_PARAMETER this@TestInitValInInitBlock: TestInitValInInitBlock
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestInitValInInitBlock>' type=TestInitValInInitBlock origin=null
receiver: GET_VAR 'this@TestInitValInInitBlock: TestInitValInInitBlock' type=TestInitValInInitBlock origin=null
ANONYMOUS_INITIALIZER TestInitValInInitBlock
BLOCK_BODY
SET_FIELD 'x: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: TestInitValInInitBlock>' type=TestInitValInInitBlock origin=null
receiver: GET_VAR 'this@TestInitValInInitBlock: TestInitValInInitBlock' type=TestInitValInInitBlock origin=null
value: CONST Int type=kotlin.Int value='0'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
+33 -33
View File
@@ -1,6 +1,6 @@
FILE /initVar.kt
CLASS CLASS TestInitVarFromParameter
$new: VALUE_PARAMETER <receiver: TestInitVarFromParameter>
$new: VALUE_PARAMETER this@TestInitVarFromParameter: TestInitVarFromParameter
CONSTRUCTOR public constructor TestInitVarFromParameter(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -11,23 +11,23 @@ FILE /initVar.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TestInitVarFromParameter>
$this: VALUE_PARAMETER this@TestInitVarFromParameter: TestInitVarFromParameter
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestInitVarFromParameter>' type=TestInitVarFromParameter origin=null
receiver: GET_VAR 'this@TestInitVarFromParameter: TestInitVarFromParameter' type=TestInitVarFromParameter origin=null
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: TestInitVarFromParameter>
$this: VALUE_PARAMETER this@TestInitVarFromParameter: TestInitVarFromParameter
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
BLOCK_BODY
SET_FIELD 'x: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: TestInitVarFromParameter>' type=TestInitVarFromParameter origin=null
receiver: GET_VAR 'this@TestInitVarFromParameter: TestInitVarFromParameter' type=TestInitVarFromParameter origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitVarInClass
$new: VALUE_PARAMETER <receiver: TestInitVarInClass>
$new: VALUE_PARAMETER this@TestInitVarInClass: TestInitVarInClass
CONSTRUCTOR public constructor TestInitVarInClass()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -37,23 +37,23 @@ FILE /initVar.kt
EXPRESSION_BODY
CONST Int type=kotlin.Int value='0'
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TestInitVarInClass>
$this: VALUE_PARAMETER this@TestInitVarInClass: TestInitVarInClass
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestInitVarInClass>' type=TestInitVarInClass origin=null
receiver: GET_VAR 'this@TestInitVarInClass: TestInitVarInClass' type=TestInitVarInClass origin=null
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: TestInitVarInClass>
$this: VALUE_PARAMETER this@TestInitVarInClass: TestInitVarInClass
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
BLOCK_BODY
SET_FIELD 'x: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: TestInitVarInClass>' type=TestInitVarInClass origin=null
receiver: GET_VAR 'this@TestInitVarInClass: TestInitVarInClass' type=TestInitVarInClass origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitVarInInitBlock
$new: VALUE_PARAMETER <receiver: TestInitVarInInitBlock>
$new: VALUE_PARAMETER this@TestInitVarInInitBlock: TestInitVarInInitBlock
CONSTRUCTOR public constructor TestInitVarInInitBlock()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -61,28 +61,28 @@ FILE /initVar.kt
PROPERTY public final var x: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TestInitVarInInitBlock>
$this: VALUE_PARAMETER this@TestInitVarInInitBlock: TestInitVarInInitBlock
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestInitVarInInitBlock>' type=TestInitVarInInitBlock origin=null
receiver: GET_VAR 'this@TestInitVarInInitBlock: TestInitVarInInitBlock' type=TestInitVarInInitBlock origin=null
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: TestInitVarInInitBlock>
$this: VALUE_PARAMETER this@TestInitVarInInitBlock: TestInitVarInInitBlock
VALUE_PARAMETER value-parameter <set-?>: kotlin.Int
BLOCK_BODY
SET_FIELD 'x: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: TestInitVarInInitBlock>' type=TestInitVarInInitBlock origin=null
receiver: GET_VAR 'this@TestInitVarInInitBlock: TestInitVarInInitBlock' type=TestInitVarInInitBlock origin=null
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
ANONYMOUS_INITIALIZER TestInitVarInInitBlock
BLOCK_BODY
CALL '<set-x>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_VAR '<receiver: TestInitVarInInitBlock>' type=TestInitVarInInitBlock origin=null
$this: GET_VAR 'this@TestInitVarInInitBlock: TestInitVarInInitBlock' type=TestInitVarInInitBlock origin=null
<set-?>: CONST Int type=kotlin.Int value='0'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitVarWithCustomSetter
$new: VALUE_PARAMETER <receiver: TestInitVarWithCustomSetter>
$new: VALUE_PARAMETER this@TestInitVarWithCustomSetter: TestInitVarWithCustomSetter
CONSTRUCTOR public constructor TestInitVarWithCustomSetter()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -92,42 +92,42 @@ FILE /initVar.kt
EXPRESSION_BODY
CONST Int type=kotlin.Int value='0'
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TestInitVarWithCustomSetter>
$this: VALUE_PARAMETER this@TestInitVarWithCustomSetter: TestInitVarWithCustomSetter
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestInitVarWithCustomSetter>' type=TestInitVarWithCustomSetter origin=null
receiver: GET_VAR 'this@TestInitVarWithCustomSetter: TestInitVarWithCustomSetter' type=TestInitVarWithCustomSetter origin=null
FUN public final fun <set-x>(value: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: TestInitVarWithCustomSetter>
$this: VALUE_PARAMETER this@TestInitVarWithCustomSetter: TestInitVarWithCustomSetter
VALUE_PARAMETER value-parameter value: kotlin.Int
BLOCK_BODY
SET_FIELD 'x: Int' type=kotlin.Unit origin=EQ
receiver: GET_VAR '<receiver: TestInitVarWithCustomSetter>' type=TestInitVarWithCustomSetter origin=null
receiver: GET_VAR 'this@TestInitVarWithCustomSetter: TestInitVarWithCustomSetter' type=TestInitVarWithCustomSetter origin=null
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitVarWithCustomSetterWithExplicitCtor
$new: VALUE_PARAMETER <receiver: TestInitVarWithCustomSetterWithExplicitCtor>
$new: VALUE_PARAMETER this@TestInitVarWithCustomSetterWithExplicitCtor: TestInitVarWithCustomSetterWithExplicitCtor
PROPERTY public final var x: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TestInitVarWithCustomSetterWithExplicitCtor>
$this: VALUE_PARAMETER this@TestInitVarWithCustomSetterWithExplicitCtor: TestInitVarWithCustomSetterWithExplicitCtor
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestInitVarWithCustomSetterWithExplicitCtor>' type=TestInitVarWithCustomSetterWithExplicitCtor origin=null
receiver: GET_VAR 'this@TestInitVarWithCustomSetterWithExplicitCtor: TestInitVarWithCustomSetterWithExplicitCtor' type=TestInitVarWithCustomSetterWithExplicitCtor origin=null
FUN public final fun <set-x>(value: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: TestInitVarWithCustomSetterWithExplicitCtor>
$this: VALUE_PARAMETER this@TestInitVarWithCustomSetterWithExplicitCtor: TestInitVarWithCustomSetterWithExplicitCtor
VALUE_PARAMETER value-parameter value: kotlin.Int
BLOCK_BODY
SET_FIELD 'x: Int' type=kotlin.Unit origin=EQ
receiver: GET_VAR '<receiver: TestInitVarWithCustomSetterWithExplicitCtor>' type=TestInitVarWithCustomSetterWithExplicitCtor origin=null
receiver: GET_VAR 'this@TestInitVarWithCustomSetterWithExplicitCtor: TestInitVarWithCustomSetterWithExplicitCtor' type=TestInitVarWithCustomSetterWithExplicitCtor origin=null
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
ANONYMOUS_INITIALIZER TestInitVarWithCustomSetterWithExplicitCtor
BLOCK_BODY
CALL '<set-x>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_VAR '<receiver: TestInitVarWithCustomSetterWithExplicitCtor>' type=TestInitVarWithCustomSetterWithExplicitCtor origin=null
$this: GET_VAR 'this@TestInitVarWithCustomSetterWithExplicitCtor: TestInitVarWithCustomSetterWithExplicitCtor' type=TestInitVarWithCustomSetterWithExplicitCtor origin=null
value: CONST Int type=kotlin.Int value='0'
CONSTRUCTOR public constructor TestInitVarWithCustomSetterWithExplicitCtor()
BLOCK_BODY
@@ -137,28 +137,28 @@ FILE /initVar.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitVarWithCustomSetterInCtor
$new: VALUE_PARAMETER <receiver: TestInitVarWithCustomSetterInCtor>
$new: VALUE_PARAMETER this@TestInitVarWithCustomSetterInCtor: TestInitVarWithCustomSetterInCtor
PROPERTY public final var x: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TestInitVarWithCustomSetterInCtor>
$this: VALUE_PARAMETER this@TestInitVarWithCustomSetterInCtor: TestInitVarWithCustomSetterInCtor
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestInitVarWithCustomSetterInCtor>' type=TestInitVarWithCustomSetterInCtor origin=null
receiver: GET_VAR 'this@TestInitVarWithCustomSetterInCtor: TestInitVarWithCustomSetterInCtor' type=TestInitVarWithCustomSetterInCtor origin=null
FUN public final fun <set-x>(value: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER <receiver: TestInitVarWithCustomSetterInCtor>
$this: VALUE_PARAMETER this@TestInitVarWithCustomSetterInCtor: TestInitVarWithCustomSetterInCtor
VALUE_PARAMETER value-parameter value: kotlin.Int
BLOCK_BODY
SET_FIELD 'x: Int' type=kotlin.Unit origin=EQ
receiver: GET_VAR '<receiver: TestInitVarWithCustomSetterInCtor>' type=TestInitVarWithCustomSetterInCtor origin=null
receiver: GET_VAR 'this@TestInitVarWithCustomSetterInCtor: TestInitVarWithCustomSetterInCtor' type=TestInitVarWithCustomSetterInCtor origin=null
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
CONSTRUCTOR public constructor TestInitVarWithCustomSetterInCtor()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarWithCustomSetterInCtor'
CALL '<set-x>(Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_VAR '<receiver: TestInitVarWithCustomSetterInCtor>' type=TestInitVarWithCustomSetterInCtor origin=null
$this: GET_VAR 'this@TestInitVarWithCustomSetterInCtor: TestInitVarWithCustomSetterInCtor' type=TestInitVarWithCustomSetterInCtor origin=null
value: CONST Int type=kotlin.Int value='42'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
+6 -6
View File
@@ -1,14 +1,14 @@
FILE /innerClass.kt
CLASS CLASS Outer
$new: VALUE_PARAMETER <receiver: Outer>
$new: VALUE_PARAMETER this@Outer: Outer
CONSTRUCTOR public constructor Outer()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
CLASS CLASS TestInnerClass
$new: VALUE_PARAMETER <receiver: TestInnerClass>
$new: VALUE_PARAMETER this@TestInnerClass: TestInnerClass
CONSTRUCTOR public constructor TestInnerClass()
$outer: VALUE_PARAMETER <receiver: Outer>
$outer: VALUE_PARAMETER this@Outer: Outer
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='TestInnerClass'
@@ -16,12 +16,12 @@ FILE /innerClass.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS DerivedInnerClass
$new: VALUE_PARAMETER <receiver: DerivedInnerClass>
$new: VALUE_PARAMETER this@DerivedInnerClass: DerivedInnerClass
CONSTRUCTOR public constructor DerivedInnerClass()
$outer: VALUE_PARAMETER <receiver: Outer>
$outer: VALUE_PARAMETER this@Outer: Outer
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor TestInnerClass()'
$this: GET_VAR '<receiver: Outer>' type=Outer origin=null
$this: GET_VAR 'this@Outer: Outer' type=Outer origin=null
INSTANCE_INITIALIZER_CALL classDescriptor='DerivedInnerClass'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
@@ -1,14 +1,14 @@
FILE /innerClassWithDelegatingConstructor.kt
CLASS CLASS Outer
$new: VALUE_PARAMETER <receiver: Outer>
$new: VALUE_PARAMETER this@Outer: Outer
CONSTRUCTOR public constructor Outer()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
CLASS CLASS Inner
$new: VALUE_PARAMETER <receiver: Inner>
$new: VALUE_PARAMETER this@Inner: Inner
CONSTRUCTOR public constructor Inner(x: kotlin.Int)
$outer: VALUE_PARAMETER <receiver: Outer>
$outer: VALUE_PARAMETER this@Outer: Outer
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -18,16 +18,16 @@ FILE /innerClassWithDelegatingConstructor.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Inner>
$this: VALUE_PARAMETER this@Inner: Inner
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Inner>' type=Outer.Inner origin=null
receiver: GET_VAR 'this@Inner: Inner' type=Outer.Inner origin=null
CONSTRUCTOR public constructor Inner()
$outer: VALUE_PARAMETER <receiver: Outer>
$outer: VALUE_PARAMETER this@Outer: Outer
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Inner(Int)'
$this: GET_VAR '<receiver: Outer>' type=Outer origin=null
$this: GET_VAR 'this@Outer: Outer' type=Outer origin=null
x: CONST Int type=kotlin.Int value='0'
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
+2 -2
View File
@@ -2,13 +2,13 @@ FILE /localClasses.kt
FUN public fun outer(): kotlin.Unit
BLOCK_BODY
CLASS CLASS LocalClass
$new: VALUE_PARAMETER <receiver: LocalClass>
$new: VALUE_PARAMETER this@LocalClass: LocalClass
CONSTRUCTOR public constructor LocalClass()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='LocalClass'
FUN public final fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: LocalClass>
$this: VALUE_PARAMETER this@LocalClass: LocalClass
BLOCK_BODY
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
@@ -1,7 +1,7 @@
FILE /objectLiteralExpressions.kt
CLASS INTERFACE IFoo
FUN public abstract fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: IFoo>
$this: VALUE_PARAMETER this@IFoo: IFoo
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
@@ -10,7 +10,7 @@ FILE /objectLiteralExpressions.kt
EXPRESSION_BODY
BLOCK type=test1.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS <no name provided>
$new: VALUE_PARAMETER <receiver: <no name provided>>
$new: VALUE_PARAMETER this@<no name provided>: <no name provided>
CONSTRUCTOR public constructor <no name provided>()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -28,13 +28,13 @@ FILE /objectLiteralExpressions.kt
EXPRESSION_BODY
BLOCK type=test2.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS <no name provided>
$new: VALUE_PARAMETER <receiver: <no name provided>>
$new: VALUE_PARAMETER this@<no name provided>: <no name provided>
CONSTRUCTOR public constructor <no name provided>()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
FUN public open override fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: <no name provided>>
$this: VALUE_PARAMETER this@<no name provided>: <no name provided>
BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='foo'
@@ -47,15 +47,15 @@ FILE /objectLiteralExpressions.kt
RETURN type=kotlin.Nothing from='<get-test2>(): IFoo'
GET_FIELD 'test2: IFoo' type=IFoo origin=null
CLASS CLASS Outer
$new: VALUE_PARAMETER <receiver: Outer>
$new: VALUE_PARAMETER this@Outer: Outer
CONSTRUCTOR public constructor Outer()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
CLASS CLASS Inner
$new: VALUE_PARAMETER <receiver: Inner>
$new: VALUE_PARAMETER this@Inner: Inner
CONSTRUCTOR public constructor Inner()
$outer: VALUE_PARAMETER <receiver: Outer>
$outer: VALUE_PARAMETER this@Outer: Outer
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Inner'
@@ -64,19 +64,19 @@ FILE /objectLiteralExpressions.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public final fun test3(): Outer.Inner
$this: VALUE_PARAMETER <receiver: Outer>
$this: VALUE_PARAMETER this@Outer: Outer
BLOCK_BODY
RETURN type=kotlin.Nothing from='test3(): Outer.Inner'
BLOCK type=Outer.test3.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS <no name provided>
$new: VALUE_PARAMETER <receiver: <no name provided>>
$new: VALUE_PARAMETER this@<no name provided>: <no name provided>
CONSTRUCTOR public constructor <no name provided>()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Inner()'
$this: GET_VAR '<receiver: Outer>' type=Outer origin=null
$this: GET_VAR 'this@Outer: Outer' type=Outer origin=null
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
FUN public open override fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: <no name provided>>
$this: VALUE_PARAMETER this@<no name provided>: <no name provided>
BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='foo'
@@ -88,19 +88,19 @@ FILE /objectLiteralExpressions.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
FUN public fun Outer.test4(): Outer.Inner
$receiver: VALUE_PARAMETER <receiver: test4() on Outer: Outer.Inner>
$receiver: VALUE_PARAMETER this@test4: Outer
BLOCK_BODY
RETURN type=kotlin.Nothing from='test4() on Outer: Outer.Inner'
BLOCK type=test4.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS <no name provided>
$new: VALUE_PARAMETER <receiver: <no name provided>>
$new: VALUE_PARAMETER this@<no name provided>: <no name provided>
CONSTRUCTOR public constructor <no name provided>()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Inner()'
$this: GET_VAR '<receiver: test4() on Outer: Outer.Inner>' type=Outer origin=null
$this: GET_VAR 'this@test4: Outer' type=Outer origin=null
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
FUN public open override fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: <no name provided>>
$this: VALUE_PARAMETER this@<no name provided>: <no name provided>
BLOCK_BODY
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
message: CONST String type=kotlin.String value='foo'
@@ -1,6 +1,6 @@
FILE /objectWithInitializers.kt
CLASS CLASS Base
$new: VALUE_PARAMETER <receiver: Base>
$new: VALUE_PARAMETER this@Base: Base
CONSTRUCTOR public constructor Base()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -9,7 +9,7 @@ FILE /objectWithInitializers.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT Test
$new: VALUE_PARAMETER <receiver: Test>
$new: VALUE_PARAMETER this@Test: Test
CONSTRUCTOR private constructor Test()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
@@ -19,25 +19,25 @@ FILE /objectWithInitializers.kt
EXPRESSION_BODY
CONST Int type=kotlin.Int value='1'
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test>
$this: VALUE_PARAMETER this@Test: Test
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test>' type=Test origin=null
receiver: GET_VAR 'this@Test: Test' type=Test origin=null
PROPERTY public final val y: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final val y: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test>
$this: VALUE_PARAMETER this@Test: Test
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-y>(): Int'
GET_FIELD 'y: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test>' type=Test origin=null
receiver: GET_VAR 'this@Test: Test' type=Test origin=null
ANONYMOUS_INITIALIZER Test
BLOCK_BODY
SET_FIELD 'y: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: Test>' type=Test origin=null
receiver: GET_VAR 'this@Test: Test' type=Test origin=null
value: CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR '<receiver: Test>' type=Test origin=null
$this: GET_VAR 'this@Test: Test' type=Test origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
+14 -14
View File
@@ -1,45 +1,45 @@
FILE /outerClassAccess.kt
CLASS CLASS Outer
$new: VALUE_PARAMETER <receiver: Outer>
$new: VALUE_PARAMETER this@Outer: Outer
CONSTRUCTOR public constructor Outer()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
FUN public final fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Outer>
$this: VALUE_PARAMETER this@Outer: Outer
BLOCK_BODY
CLASS CLASS Inner
$new: VALUE_PARAMETER <receiver: Inner>
$new: VALUE_PARAMETER this@Inner: Inner
CONSTRUCTOR public constructor Inner()
$outer: VALUE_PARAMETER <receiver: Outer>
$outer: VALUE_PARAMETER this@Outer: Outer
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Inner'
FUN public final fun test(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Inner>
$this: VALUE_PARAMETER this@Inner: Inner
BLOCK_BODY
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_VAR '<receiver: Outer>' type=Outer origin=null
$this: GET_VAR 'this@Outer: Outer' type=Outer origin=null
CLASS CLASS Inner2
$new: VALUE_PARAMETER <receiver: Inner2>
$new: VALUE_PARAMETER this@Inner2: Inner2
CONSTRUCTOR public constructor Inner2()
$outer: VALUE_PARAMETER <receiver: Inner>
$outer: VALUE_PARAMETER this@Inner: Inner
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Inner2'
FUN public final fun test2(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Inner2>
$this: VALUE_PARAMETER this@Inner2: Inner2
BLOCK_BODY
CALL 'test(): Unit' type=kotlin.Unit origin=null
$this: GET_VAR '<receiver: Inner>' type=Outer.Inner origin=null
$this: GET_VAR 'this@Inner: Inner' type=Outer.Inner origin=null
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_VAR '<receiver: Outer>' type=Outer origin=null
$this: GET_VAR 'this@Outer: Outer' type=Outer origin=null
FUN public final fun Outer.test3(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Inner2>
$receiver: VALUE_PARAMETER <receiver: test3() on Outer: Unit>
$this: VALUE_PARAMETER this@Inner2: Inner2
$receiver: VALUE_PARAMETER this@test3: Outer
BLOCK_BODY
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_VAR '<receiver: test3() on Outer: Unit>' type=Outer origin=null
$this: GET_VAR 'this@test3: Outer' type=Outer origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
+16 -16
View File
@@ -1,6 +1,6 @@
FILE /primaryConstructor.kt
CLASS CLASS Test1
$new: VALUE_PARAMETER <receiver: Test1>
$new: VALUE_PARAMETER this@Test1: Test1
CONSTRUCTOR public constructor Test1(x: kotlin.Int, y: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter y: kotlin.Int
@@ -12,26 +12,26 @@ FILE /primaryConstructor.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null
receiver: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
PROPERTY public final val y: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final val y: kotlin.Int
EXPRESSION_BODY
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test1>
$this: VALUE_PARAMETER this@Test1: Test1
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-y>(): Int'
GET_FIELD 'y: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test1>' type=Test1 origin=null
receiver: GET_VAR 'this@Test1: Test1' type=Test1 origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test2
$new: VALUE_PARAMETER <receiver: Test2>
$new: VALUE_PARAMETER this@Test2: Test2
CONSTRUCTOR public constructor Test2(x: kotlin.Int, y: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter y: kotlin.Int
@@ -43,26 +43,26 @@ FILE /primaryConstructor.kt
EXPRESSION_BODY
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test2>
$this: VALUE_PARAMETER this@Test2: Test2
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-y>(): Int'
GET_FIELD 'y: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
receiver: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
PROPERTY public final val x: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
EXPRESSION_BODY
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test2>
$this: VALUE_PARAMETER this@Test2: Test2
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test2>' type=Test2 origin=null
receiver: GET_VAR 'this@Test2: Test2' type=Test2 origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test3
$new: VALUE_PARAMETER <receiver: Test3>
$new: VALUE_PARAMETER this@Test3: Test3
CONSTRUCTOR public constructor Test3(x: kotlin.Int, y: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter y: kotlin.Int
@@ -74,23 +74,23 @@ FILE /primaryConstructor.kt
EXPRESSION_BODY
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test3>
$this: VALUE_PARAMETER this@Test3: Test3
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-y>(): Int'
GET_FIELD 'y: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test3>' type=Test3 origin=null
receiver: GET_VAR 'this@Test3: Test3' type=Test3 origin=null
PROPERTY public final val x: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: Test3>
$this: VALUE_PARAMETER this@Test3: Test3
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: Test3>' type=Test3 origin=null
receiver: GET_VAR 'this@Test3: Test3' type=Test3 origin=null
ANONYMOUS_INITIALIZER Test3
BLOCK_BODY
SET_FIELD 'x: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: Test3>' type=Test3 origin=null
receiver: GET_VAR 'this@Test3: Test3' type=Test3 origin=null
value: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
@@ -1,6 +1,6 @@
FILE /primaryConstructorWithSuperConstructorCall.kt
CLASS CLASS Base
$new: VALUE_PARAMETER <receiver: Base>
$new: VALUE_PARAMETER this@Base: Base
CONSTRUCTOR public constructor Base()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -9,7 +9,7 @@ FILE /primaryConstructorWithSuperConstructorCall.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestImplicitPrimaryConstructor
$new: VALUE_PARAMETER <receiver: TestImplicitPrimaryConstructor>
$new: VALUE_PARAMETER this@TestImplicitPrimaryConstructor: TestImplicitPrimaryConstructor
CONSTRUCTOR public constructor TestImplicitPrimaryConstructor()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
@@ -18,7 +18,7 @@ FILE /primaryConstructorWithSuperConstructorCall.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestExplicitPrimaryConstructor
$new: VALUE_PARAMETER <receiver: TestExplicitPrimaryConstructor>
$new: VALUE_PARAMETER this@TestExplicitPrimaryConstructor: TestExplicitPrimaryConstructor
CONSTRUCTOR public constructor TestExplicitPrimaryConstructor()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
@@ -27,7 +27,7 @@ FILE /primaryConstructorWithSuperConstructorCall.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestWithDelegatingConstructor
$new: VALUE_PARAMETER <receiver: TestWithDelegatingConstructor>
$new: VALUE_PARAMETER this@TestWithDelegatingConstructor: TestWithDelegatingConstructor
CONSTRUCTOR public constructor TestWithDelegatingConstructor(x: kotlin.Int, y: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter y: kotlin.Int
@@ -39,21 +39,21 @@ FILE /primaryConstructorWithSuperConstructorCall.kt
EXPRESSION_BODY
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TestWithDelegatingConstructor>
$this: VALUE_PARAMETER this@TestWithDelegatingConstructor: TestWithDelegatingConstructor
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestWithDelegatingConstructor>' type=TestWithDelegatingConstructor origin=null
receiver: GET_VAR 'this@TestWithDelegatingConstructor: TestWithDelegatingConstructor' type=TestWithDelegatingConstructor origin=null
PROPERTY public final val y: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final val y: kotlin.Int
EXPRESSION_BODY
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TestWithDelegatingConstructor>
$this: VALUE_PARAMETER this@TestWithDelegatingConstructor: TestWithDelegatingConstructor
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-y>(): Int'
GET_FIELD 'y: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestWithDelegatingConstructor>' type=TestWithDelegatingConstructor origin=null
receiver: GET_VAR 'this@TestWithDelegatingConstructor: TestWithDelegatingConstructor' type=TestWithDelegatingConstructor origin=null
CONSTRUCTOR public constructor TestWithDelegatingConstructor(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
+11 -11
View File
@@ -1,11 +1,11 @@
FILE /qualifiedSuperCalls.kt
CLASS INTERFACE ILeft
FUN public open fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: ILeft>
$this: VALUE_PARAMETER this@ILeft: ILeft
BLOCK_BODY
PROPERTY public open val bar: kotlin.Int
FUN public open fun <get-bar>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: ILeft>
$this: VALUE_PARAMETER this@ILeft: ILeft
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
CONST Int type=kotlin.Int value='1'
@@ -14,11 +14,11 @@ FILE /qualifiedSuperCalls.kt
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE IRight
FUN public open fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: IRight>
$this: VALUE_PARAMETER this@IRight: IRight
BLOCK_BODY
PROPERTY public open val bar: kotlin.Int
FUN public open fun <get-bar>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: IRight>
$this: VALUE_PARAMETER this@IRight: IRight
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
CONST Int type=kotlin.Int value='2'
@@ -26,28 +26,28 @@ FILE /qualifiedSuperCalls.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS CBoth
$new: VALUE_PARAMETER <receiver: CBoth>
$new: VALUE_PARAMETER this@CBoth: CBoth
CONSTRUCTOR public constructor CBoth()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='CBoth'
FUN public open override fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: CBoth>
$this: VALUE_PARAMETER this@CBoth: CBoth
BLOCK_BODY
CALL 'foo(): Unit' superQualifier=ILeft type=kotlin.Unit origin=null
$this: GET_VAR '<receiver: CBoth>' type=CBoth origin=null
$this: GET_VAR 'this@CBoth: CBoth' type=CBoth origin=null
CALL 'foo(): Unit' superQualifier=IRight type=kotlin.Unit origin=null
$this: GET_VAR '<receiver: CBoth>' type=CBoth origin=null
$this: GET_VAR 'this@CBoth: CBoth' type=CBoth origin=null
PROPERTY public open override val bar: kotlin.Int
FUN public open override fun <get-bar>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: CBoth>
$this: VALUE_PARAMETER this@CBoth: CBoth
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
CALL 'plus(Int): Int' type=kotlin.Int origin=PLUS
$this: CALL '<get-bar>(): Int' superQualifier=ILeft type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR '<receiver: CBoth>' type=CBoth origin=null
$this: GET_VAR 'this@CBoth: CBoth' type=CBoth origin=null
other: CALL '<get-bar>(): Int' superQualifier=IRight type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR '<receiver: CBoth>' type=CBoth origin=null
$this: GET_VAR 'this@CBoth: CBoth' type=CBoth origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
+10 -10
View File
@@ -1,12 +1,12 @@
FILE /sealedClasses.kt
CLASS CLASS Expr
$new: VALUE_PARAMETER <receiver: Expr>
$new: VALUE_PARAMETER this@Expr: Expr
CONSTRUCTOR private constructor Expr()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Expr'
CLASS CLASS Const
$new: VALUE_PARAMETER <receiver: Const>
$new: VALUE_PARAMETER this@Const: Const
CONSTRUCTOR public constructor Const(number: kotlin.Double)
VALUE_PARAMETER value-parameter number: kotlin.Double
BLOCK_BODY
@@ -17,16 +17,16 @@ FILE /sealedClasses.kt
EXPRESSION_BODY
GET_VAR 'value-parameter number: Double' type=kotlin.Double origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-number>(): kotlin.Double
$this: VALUE_PARAMETER <receiver: Const>
$this: VALUE_PARAMETER this@Const: Const
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-number>(): Double'
GET_FIELD 'number: Double' type=kotlin.Double origin=null
receiver: GET_VAR '<receiver: Const>' type=Expr.Const origin=null
receiver: GET_VAR 'this@Const: Const' type=Expr.Const origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Sum
$new: VALUE_PARAMETER <receiver: Sum>
$new: VALUE_PARAMETER this@Sum: Sum
CONSTRUCTOR public constructor Sum(e1: Expr, e2: Expr)
VALUE_PARAMETER value-parameter e1: Expr
VALUE_PARAMETER value-parameter e2: Expr
@@ -38,26 +38,26 @@ FILE /sealedClasses.kt
EXPRESSION_BODY
GET_VAR 'value-parameter e1: Expr' type=Expr origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-e1>(): Expr
$this: VALUE_PARAMETER <receiver: Sum>
$this: VALUE_PARAMETER this@Sum: Sum
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-e1>(): Expr'
GET_FIELD 'e1: Expr' type=Expr origin=null
receiver: GET_VAR '<receiver: Sum>' type=Expr.Sum origin=null
receiver: GET_VAR 'this@Sum: Sum' type=Expr.Sum origin=null
PROPERTY public final val e2: Expr
FIELD PROPERTY_BACKING_FIELD public final val e2: Expr
EXPRESSION_BODY
GET_VAR 'value-parameter e2: Expr' type=Expr origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-e2>(): Expr
$this: VALUE_PARAMETER <receiver: Sum>
$this: VALUE_PARAMETER this@Sum: Sum
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-e2>(): Expr'
GET_FIELD 'e2: Expr' type=Expr origin=null
receiver: GET_VAR '<receiver: Sum>' type=Expr.Sum origin=null
receiver: GET_VAR 'this@Sum: Sum' type=Expr.Sum origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT NotANumber
$new: VALUE_PARAMETER <receiver: NotANumber>
$new: VALUE_PARAMETER this@NotANumber: NotANumber
CONSTRUCTOR private constructor NotANumber()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Expr()'
@@ -1,6 +1,6 @@
FILE /secondaryConstructorWithInitializersFromClassBody.kt
CLASS CLASS Base
$new: VALUE_PARAMETER <receiver: Base>
$new: VALUE_PARAMETER this@Base: Base
CONSTRUCTOR public constructor Base()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -9,17 +9,17 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestProperty
$new: VALUE_PARAMETER <receiver: TestProperty>
$new: VALUE_PARAMETER this@TestProperty: TestProperty
PROPERTY public final val x: kotlin.Int = 0
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int = 0
EXPRESSION_BODY
CONST Int type=kotlin.Int value='0'
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TestProperty>
$this: VALUE_PARAMETER this@TestProperty: TestProperty
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestProperty>' type=TestProperty origin=null
receiver: GET_VAR 'this@TestProperty: TestProperty' type=TestProperty origin=null
CONSTRUCTOR public constructor TestProperty()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
@@ -28,19 +28,19 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitBlock
$new: VALUE_PARAMETER <receiver: TestInitBlock>
$new: VALUE_PARAMETER this@TestInitBlock: TestInitBlock
PROPERTY public final val x: kotlin.Int
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
$this: VALUE_PARAMETER <receiver: TestInitBlock>
$this: VALUE_PARAMETER this@TestInitBlock: TestInitBlock
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR '<receiver: TestInitBlock>' type=TestInitBlock origin=null
receiver: GET_VAR 'this@TestInitBlock: TestInitBlock' type=TestInitBlock origin=null
ANONYMOUS_INITIALIZER TestInitBlock
BLOCK_BODY
SET_FIELD 'x: Int' type=kotlin.Unit origin=null
receiver: GET_VAR '<receiver: TestInitBlock>' type=TestInitBlock origin=null
receiver: GET_VAR 'this@TestInitBlock: TestInitBlock' type=TestInitBlock origin=null
value: CONST Int type=kotlin.Int value='0'
CONSTRUCTOR public constructor TestInitBlock()
BLOCK_BODY
@@ -1,6 +1,6 @@
FILE /secondaryConstructors.kt
CLASS CLASS C
$new: VALUE_PARAMETER <receiver: C>
$new: VALUE_PARAMETER this@C: C
CONSTRUCTOR public constructor C()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor C(Int)'
+9 -9
View File
@@ -1,44 +1,44 @@
FILE /superCalls.kt
CLASS CLASS Base
$new: VALUE_PARAMETER <receiver: Base>
$new: VALUE_PARAMETER this@Base: Base
CONSTRUCTOR public constructor Base()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Base'
FUN public open fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Base>
$this: VALUE_PARAMETER this@Base: Base
BLOCK_BODY
PROPERTY public open val bar: kotlin.String = ""
FIELD PROPERTY_BACKING_FIELD public open val bar: kotlin.String = ""
EXPRESSION_BODY
CONST String type=kotlin.String value=''
FUN DEFAULT_PROPERTY_ACCESSOR public open fun <get-bar>(): kotlin.String
$this: VALUE_PARAMETER <receiver: Base>
$this: VALUE_PARAMETER this@Base: Base
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-bar>(): String'
GET_FIELD 'bar: String' type=kotlin.String origin=null
receiver: GET_VAR '<receiver: Base>' type=Base origin=null
receiver: GET_VAR 'this@Base: Base' type=Base origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Derived
$new: VALUE_PARAMETER <receiver: Derived>
$new: VALUE_PARAMETER this@Derived: Derived
CONSTRUCTOR public constructor Derived()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
INSTANCE_INITIALIZER_CALL classDescriptor='Derived'
FUN public open override fun foo(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Derived>
$this: VALUE_PARAMETER this@Derived: Derived
BLOCK_BODY
CALL 'foo(): Unit' superQualifier=Base type=kotlin.Unit origin=null
$this: GET_VAR '<receiver: Derived>' type=Derived origin=null
$this: GET_VAR 'this@Derived: Derived' type=Derived origin=null
PROPERTY public open override val bar: kotlin.String
FUN public open override fun <get-bar>(): kotlin.String
$this: VALUE_PARAMETER <receiver: Derived>
$this: VALUE_PARAMETER this@Derived: Derived
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-bar>(): String'
CALL '<get-bar>(): String' superQualifier=Base type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR '<receiver: Derived>' type=Derived origin=null
$this: GET_VAR 'this@Derived: Derived' type=Derived origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String