Include declaration origin in testData.
This commit is contained in:
committed by
Dmitry Petrov
parent
c2a7890ac4
commit
c699e2d24c
@@ -43,34 +43,34 @@ class RenderIrElementVisitor : IrElementVisitor<String, Nothing?> {
|
||||
"FILE ${declaration.name}"
|
||||
|
||||
override fun visitFunction(declaration: IrFunction, data: Nothing?): String =
|
||||
"FUN ${declaration.renderDeclared()}"
|
||||
"FUN ${declaration.renderOrigin()}${declaration.renderDeclared()}"
|
||||
|
||||
override fun visitConstructor(declaration: IrConstructor, data: Nothing?): String =
|
||||
"CONSTRUCTOR ${declaration.renderDeclared()}"
|
||||
"CONSTRUCTOR ${declaration.renderOrigin()}${declaration.renderDeclared()}"
|
||||
|
||||
override fun visitProperty(declaration: IrProperty, data: Nothing?): String =
|
||||
"PROPERTY ${declaration.renderDeclared()}"
|
||||
"PROPERTY ${declaration.renderOrigin()}${declaration.renderDeclared()}"
|
||||
|
||||
override fun visitField(declaration: IrField, data: Nothing?): String =
|
||||
"FIELD ${declaration.renderDeclared()}"
|
||||
"FIELD ${declaration.renderOrigin()}${declaration.renderDeclared()}"
|
||||
|
||||
override fun visitClass(declaration: IrClass, data: Nothing?): String =
|
||||
"CLASS ${declaration.descriptor.kind} ${declaration.descriptor.ref()}"
|
||||
"CLASS ${declaration.renderOrigin()}${declaration.descriptor.kind} ${declaration.descriptor.ref()}"
|
||||
|
||||
override fun visitTypeAlias(declaration: IrTypeAlias, data: Nothing?): String =
|
||||
"TYPEALIAS ${declaration.descriptor.ref()} type=${declaration.descriptor.underlyingType.render()}"
|
||||
"TYPEALIAS ${declaration.renderOrigin()}${declaration.descriptor.ref()} type=${declaration.descriptor.underlyingType.render()}"
|
||||
|
||||
override fun visitVariable(declaration: IrVariable, data: Nothing?): String =
|
||||
"VAR ${declaration.renderDeclared()}"
|
||||
"VAR ${declaration.renderOrigin()}${declaration.renderDeclared()}"
|
||||
|
||||
override fun visitEnumEntry(declaration: IrEnumEntry, data: Nothing?): String =
|
||||
"ENUM_ENTRY ${declaration.renderDeclared()}"
|
||||
"ENUM_ENTRY ${declaration.renderOrigin()}${declaration.renderDeclared()}"
|
||||
|
||||
override fun visitAnonymousInitializer(declaration: IrAnonymousInitializer, data: Nothing?): String =
|
||||
"ANONYMOUS_INITIALIZER ${declaration.descriptor.ref()}"
|
||||
|
||||
override fun visitLocalDelegatedProperty(declaration: IrLocalDelegatedProperty, data: Nothing?): String =
|
||||
"LOCAL_DELEGATED_PROPERTY ${declaration.renderDeclared()}"
|
||||
"LOCAL_DELEGATED_PROPERTY ${declaration.renderOrigin()}${declaration.renderDeclared()}"
|
||||
|
||||
override fun visitExpressionBody(body: IrExpressionBody, data: Nothing?): String =
|
||||
"EXPRESSION_BODY"
|
||||
@@ -214,5 +214,8 @@ class RenderIrElementVisitor : IrElementVisitor<String, Nothing?> {
|
||||
|
||||
internal fun KotlinType.render(): String =
|
||||
DECLARATION_RENDERER.renderType(this)
|
||||
|
||||
internal fun IrDeclaration.renderOrigin(): String =
|
||||
if (origin != IrDeclarationOrigin.DEFINED) origin.toString() + " " else ""
|
||||
}
|
||||
}
|
||||
+10
-10
@@ -5,19 +5,19 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Base'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'Base' type=Base
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-y>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int operator=null
|
||||
@@ -26,9 +26,9 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
|
||||
CONSTRUCTOR public constructor Test1(xx: kotlin.Int, yy: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
BLOCK type=Base operator=ARGUMENTS_REORDERING_FOR_CALL
|
||||
VAR val tmp0_y: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_y: kotlin.Int
|
||||
GET_VAR 'value-parameter yy: Int' type=kotlin.Int operator=null
|
||||
VAR val tmp1_x: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_x: kotlin.Int
|
||||
GET_VAR 'value-parameter xx: Int' type=kotlin.Int operator=null
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base(Int, Int)'
|
||||
x: GET_VAR 'tmp1_x: Int' type=kotlin.Int operator=null
|
||||
@@ -38,9 +38,9 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
|
||||
CONSTRUCTOR public constructor Test2(xx: kotlin.Int, yy: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
BLOCK type=Base operator=ARGUMENTS_REORDERING_FOR_CALL
|
||||
VAR val tmp0_y: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_y: kotlin.Int
|
||||
GET_VAR 'value-parameter yy: Int' type=kotlin.Int operator=null
|
||||
VAR val tmp1_x: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_x: kotlin.Int
|
||||
GET_VAR 'value-parameter xx: Int' type=kotlin.Int operator=null
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base(Int, Int)'
|
||||
x: GET_VAR 'tmp1_x: Int' type=kotlin.Int operator=null
|
||||
@@ -49,9 +49,9 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
|
||||
CONSTRUCTOR public constructor Test2(xxx: kotlin.Int, yyy: kotlin.Int, a: kotlin.Any)
|
||||
BLOCK_BODY
|
||||
BLOCK type=Test2 operator=ARGUMENTS_REORDERING_FOR_CALL
|
||||
VAR val tmp0_yy: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_yy: kotlin.Int
|
||||
GET_VAR 'value-parameter yyy: Int' type=kotlin.Int operator=null
|
||||
VAR val tmp1_xx: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_xx: kotlin.Int
|
||||
GET_VAR 'value-parameter xxx: Int' type=kotlin.Int operator=null
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Test2(Int, Int)'
|
||||
xx: GET_VAR 'tmp1_xx: Int' type=kotlin.Int operator=null
|
||||
|
||||
+7
-7
@@ -7,24 +7,24 @@ FILE /classMembers.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='C'
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-y>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'C' type=C
|
||||
PROPERTY public final var z: kotlin.Int
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-z>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-z>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z>(): Int'
|
||||
GET_BACKING_FIELD 'z: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'C' type=C
|
||||
FUN public final fun <set-z>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-z>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'z: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'C' type=C
|
||||
@@ -36,10 +36,10 @@ FILE /classMembers.kt
|
||||
y: CONST Int type=kotlin.Int value='0'
|
||||
z: CONST Int type=kotlin.Int value='0'
|
||||
PROPERTY public final val property: kotlin.Int = 0
|
||||
FIELD public final val property: kotlin.Int = 0
|
||||
FIELD PROPERTY_BACKING_FIELD public final val property: kotlin.Int = 0
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public final fun <get-property>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-property>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-property>(): Int'
|
||||
GET_BACKING_FIELD 'property: Int' type=kotlin.Int operator=null
|
||||
|
||||
+2
-2
@@ -16,7 +16,7 @@ FILE /classes.kt
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)' super
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestEnumClass'
|
||||
FUN public final fun values(): kotlin.Array<TestEnumClass>
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnumClass>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN public final fun valueOf(value: kotlin.String): TestEnumClass
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnumClass
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
|
||||
+15
-15
@@ -5,55 +5,55 @@ FILE /dataClasses.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'Test1' type=Test1
|
||||
PROPERTY public final val y: kotlin.String
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-y>(): kotlin.String
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): String'
|
||||
GET_BACKING_FIELD 'y: String' type=kotlin.String operator=null
|
||||
receiver: THIS of 'Test1' type=Test1
|
||||
PROPERTY public final val z: kotlin.Any
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-z>(): kotlin.Any
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-z>(): kotlin.Any
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z>(): Any'
|
||||
GET_BACKING_FIELD 'z: Any' type=kotlin.Any operator=null
|
||||
receiver: THIS of 'Test1' type=Test1
|
||||
FUN public final operator fun component1(): kotlin.Int
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public final operator fun component1(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='component1(): Int'
|
||||
CALL '<get-x>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
FUN public final operator fun component2(): kotlin.String
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public final operator fun component2(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='component2(): String'
|
||||
CALL '<get-y>(): String' type=kotlin.String operator=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
FUN public final operator fun component3(): kotlin.Any
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public final operator fun component3(): kotlin.Any
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='component3(): Any'
|
||||
CALL '<get-z>(): Any' type=kotlin.Any operator=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
FUN public final fun copy(x: kotlin.Int = ..., y: kotlin.String = ..., z: kotlin.Any = ...): Test1
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public final fun copy(x: kotlin.Int = ..., y: kotlin.String = ..., z: kotlin.Any = ...): Test1
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='copy(Int = ..., String = ..., Any = ...): Test1'
|
||||
CALL 'constructor Test1(Int, String, Any)' type=Test1 operator=null
|
||||
x: GET_VAR 'value-parameter x: Int = ...' type=kotlin.Int operator=null
|
||||
y: GET_VAR 'value-parameter y: String = ...' type=kotlin.String operator=null
|
||||
z: GET_VAR 'value-parameter z: Any = ...' type=kotlin.Any operator=null
|
||||
FUN public open override fun toString(): kotlin.String
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public open override fun toString(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='toString(): String'
|
||||
STRING_CONCATENATION type=kotlin.String
|
||||
@@ -70,9 +70,9 @@ FILE /dataClasses.kt
|
||||
CALL '<get-z>(): Any' type=kotlin.Any operator=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
CONST String type=kotlin.String value=')'
|
||||
FUN public open override fun hashCode(): kotlin.Int
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public open override fun hashCode(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
VAR val tmp0_result: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_result: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
SET_VAR 'tmp0_result: Int' type=kotlin.Unit operator=EQ
|
||||
CALL 'hashCode(): Int' type=kotlin.Int operator=null
|
||||
@@ -96,7 +96,7 @@ FILE /dataClasses.kt
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
RETURN type=kotlin.Nothing from='hashCode(): Int'
|
||||
GET_VAR 'tmp0_result: Int' type=kotlin.Int operator=null
|
||||
FUN public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit operator=null
|
||||
if: CALL 'EQEQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQEQ
|
||||
@@ -109,7 +109,7 @@ FILE /dataClasses.kt
|
||||
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? operator=null
|
||||
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
CONST Boolean type=kotlin.Boolean value='false'
|
||||
VAR val tmp0_other_with_cast: Test1
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_other_with_cast: Test1
|
||||
TYPE_OP operator=CAST typeOperand=Test1
|
||||
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? operator=null
|
||||
WHEN type=kotlin.Unit operator=null
|
||||
|
||||
+24
-24
@@ -31,24 +31,24 @@ FILE /delegatedImplementation.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
|
||||
PROPERTY public open override val x: kotlin.String
|
||||
FIELD public open override val x: kotlin.String
|
||||
FIELD PROPERTY_BACKING_FIELD public open override val x: kotlin.String
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x0: String' type=kotlin.String operator=null
|
||||
FUN public open override fun <get-x>(): kotlin.String
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public open override fun <get-x>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): String'
|
||||
GET_BACKING_FIELD 'x: String' type=kotlin.String operator=null
|
||||
receiver: THIS of '<no name provided>' type=otherImpl.<no name provided>
|
||||
PROPERTY public open override var y: kotlin.Int
|
||||
FIELD 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 operator=null
|
||||
FUN public open override fun <get-y>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public open override fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of '<no name provided>' type=otherImpl.<no name provided>
|
||||
FUN public open override fun <set-y>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public open override fun <set-y>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'y: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of '<no name provided>' type=otherImpl.<no name provided>
|
||||
@@ -71,21 +71,21 @@ FILE /delegatedImplementation.kt
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
|
||||
FIELD val `Test1$IBase$delegate`: BaseImpl
|
||||
FIELD DELEGATE val `Test1$IBase$delegate`: BaseImpl
|
||||
EXPRESSION_BODY
|
||||
GET_OBJECT 'BaseImpl' type=BaseImpl
|
||||
FUN public open override fun bar(): kotlin.Int
|
||||
FUN DELEGATED_MEMBER public open override fun bar(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='bar(): Int'
|
||||
CALL 'bar(): Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
FUN public open override fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
|
||||
FUN DELEGATED_MEMBER public open override fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'foo(Int, String): Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
|
||||
s: GET_VAR 'value-parameter s: String' type=kotlin.String operator=null
|
||||
FUN public open override fun kotlin.String.qux(): kotlin.Unit
|
||||
FUN DELEGATED_MEMBER public open override fun kotlin.String.qux(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'qux() on String: Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
@@ -95,63 +95,63 @@ FILE /delegatedImplementation.kt
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
|
||||
FIELD val `Test2$IBase$delegate`: BaseImpl
|
||||
FIELD DELEGATE val `Test2$IBase$delegate`: BaseImpl
|
||||
EXPRESSION_BODY
|
||||
GET_OBJECT 'BaseImpl' type=BaseImpl
|
||||
FUN public open override fun bar(): kotlin.Int
|
||||
FUN DELEGATED_MEMBER public open override fun bar(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='bar(): Int'
|
||||
CALL 'bar(): Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
FUN public open override fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
|
||||
FUN DELEGATED_MEMBER public open override fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'foo(Int, String): Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
|
||||
s: GET_VAR 'value-parameter s: String' type=kotlin.String operator=null
|
||||
FUN public open override fun kotlin.String.qux(): kotlin.Unit
|
||||
FUN DELEGATED_MEMBER public open override fun kotlin.String.qux(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'qux() on String: Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
$receiver: $RECEIVER of 'qux() on String: Unit' type=kotlin.String
|
||||
FIELD val `Test2$IOther$delegate`: IOther
|
||||
FIELD DELEGATE val `Test2$IOther$delegate`: IOther
|
||||
EXPRESSION_BODY
|
||||
CALL 'otherImpl(String, Int): IOther' type=IOther operator=null
|
||||
x0: CONST String type=kotlin.String value=''
|
||||
y0: CONST Int type=kotlin.Int value='42'
|
||||
PROPERTY public open override val kotlin.Byte.z1: kotlin.Int
|
||||
FUN public open override fun kotlin.Byte.<get-z1>(): kotlin.Int
|
||||
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
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z1>() on Byte: Int'
|
||||
CALL '<get-z1>() on Byte: Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
$receiver: $RECEIVER of 'z1: Int on Byte' type=kotlin.Byte
|
||||
PROPERTY public open override val x: kotlin.String
|
||||
FUN public open override fun <get-x>(): kotlin.String
|
||||
PROPERTY DELEGATED_MEMBER public open override val x: kotlin.String
|
||||
FUN DELEGATED_MEMBER public open override fun <get-x>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): String'
|
||||
CALL '<get-x>(): String' type=kotlin.String operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
PROPERTY public open override var kotlin.Byte.z2: kotlin.Int
|
||||
FUN public open override fun kotlin.Byte.<get-z2>(): kotlin.Int
|
||||
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
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z2>() on Byte: Int'
|
||||
CALL '<get-z2>() on Byte: Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
$receiver: $RECEIVER of 'z2: Int on Byte' type=kotlin.Byte
|
||||
FUN public open override fun kotlin.Byte.<set-z2>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DELEGATED_MEMBER public open override fun kotlin.Byte.<set-z2>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL '<set-z2>(Int) on Byte: Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
$receiver: $RECEIVER of 'z2: Int on Byte' type=kotlin.Byte
|
||||
<set-?>: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
PROPERTY public open override var y: kotlin.Int
|
||||
FUN public open override fun <get-y>(): kotlin.Int
|
||||
PROPERTY DELEGATED_MEMBER public open override var y: kotlin.Int
|
||||
FUN DELEGATED_MEMBER public open override fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
CALL '<get-y>(): Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
FUN public open override fun <set-y>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DELEGATED_MEMBER public open override fun <set-y>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL '<set-y>(Int): Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
|
||||
+2
-2
@@ -16,10 +16,10 @@ FILE /delegatedImplementationWithExplicitOverride.kt
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='C'
|
||||
FIELD val `C$IFooBar$delegate`: FooBarImpl
|
||||
FIELD DELEGATE val `C$IFooBar$delegate`: FooBarImpl
|
||||
EXPRESSION_BODY
|
||||
GET_OBJECT 'FooBarImpl' type=FooBarImpl
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
FUN DELEGATED_MEMBER public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'foo(): Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`C$IFooBar$delegate`: FooBarImpl' type=FooBarImpl operator=null
|
||||
|
||||
+14
-14
@@ -8,9 +8,9 @@ FILE /enum.kt
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum1()' TEST1
|
||||
ENUM_ENTRY enum entry TEST2
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum1()' TEST2
|
||||
FUN public final fun values(): kotlin.Array<TestEnum1>
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum1>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN public final fun valueOf(value: kotlin.String): TestEnum1
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum1
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
CLASS ENUM_CLASS TestEnum2
|
||||
CONSTRUCTOR private constructor TestEnum2(x: kotlin.Int)
|
||||
@@ -18,10 +18,10 @@ FILE /enum.kt
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)' super
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestEnum2'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
@@ -35,9 +35,9 @@ FILE /enum.kt
|
||||
ENUM_ENTRY enum entry TEST3
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum2(Int)' TEST3
|
||||
x: CONST Int type=kotlin.Int value='3'
|
||||
FUN public final fun values(): kotlin.Array<TestEnum2>
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum2>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN public final fun valueOf(value: kotlin.String): TestEnum2
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum2
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
CLASS ENUM_CLASS TestEnum3
|
||||
CONSTRUCTOR private constructor TestEnum3()
|
||||
@@ -56,9 +56,9 @@ FILE /enum.kt
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='Hello, world!'
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
FUN public final fun values(): kotlin.Array<TestEnum3>
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum3>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN public final fun valueOf(value: kotlin.String): TestEnum3
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum3
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
CLASS ENUM_CLASS TestEnum4
|
||||
CONSTRUCTOR private constructor TestEnum4(x: kotlin.Int)
|
||||
@@ -66,10 +66,10 @@ FILE /enum.kt
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)' super
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestEnum4'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
@@ -95,8 +95,8 @@ FILE /enum.kt
|
||||
x: CONST Int type=kotlin.Int value='2'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TEST2'
|
||||
PROPERTY public final val z: kotlin.Int
|
||||
FIELD public final val z: kotlin.Int
|
||||
FUN public final fun <get-z>(): kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val z: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-z>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z>(): Int'
|
||||
GET_BACKING_FIELD 'z: Int' type=kotlin.Int operator=null
|
||||
@@ -112,7 +112,7 @@ FILE /enum.kt
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: GET_ENUM_VALUE 'TEST2' type=TestEnum4
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
FUN public final fun values(): kotlin.Array<TestEnum4>
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum4>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN public final fun valueOf(value: kotlin.String): TestEnum4
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): TestEnum4
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
|
||||
+2
-2
@@ -13,10 +13,10 @@ FILE /initBlock.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
|
||||
+6
-6
@@ -5,10 +5,10 @@ FILE /initVal.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitValFromParameter'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
@@ -19,10 +19,10 @@ FILE /initVal.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitValInClass'
|
||||
PROPERTY public final val x: kotlin.Int = 0
|
||||
FIELD 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 public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
@@ -33,8 +33,8 @@ FILE /initVal.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitValInInitBlock'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD public final val x: kotlin.Int
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
|
||||
+15
-15
@@ -5,15 +5,15 @@ FILE /initVar.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarFromParameter'
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
FIELD public final var x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'TestInitVarFromParameter' type=TestInitVarFromParameter
|
||||
FUN public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'TestInitVarFromParameter' type=TestInitVarFromParameter
|
||||
@@ -24,15 +24,15 @@ FILE /initVar.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarInClass'
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
FIELD public final var x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'TestInitVarInClass' type=TestInitVarInClass
|
||||
FUN public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'TestInitVarInClass' type=TestInitVarInClass
|
||||
@@ -43,13 +43,13 @@ FILE /initVar.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarInInitBlock'
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
FIELD public final var x: kotlin.Int
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'TestInitVarInInitBlock' type=TestInitVarInInitBlock
|
||||
FUN public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'TestInitVarInInitBlock' type=TestInitVarInInitBlock
|
||||
@@ -65,10 +65,10 @@ FILE /initVar.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarWithCustomSetter'
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
FIELD public final var x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
@@ -79,8 +79,8 @@ FILE /initVar.kt
|
||||
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int operator=null
|
||||
CLASS CLASS TestInitVarWithCustomSetterWithExplicitCtor
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
FIELD public final var x: kotlin.Int
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
@@ -100,8 +100,8 @@ FILE /initVar.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarWithCustomSetterWithExplicitCtor'
|
||||
CLASS CLASS TestInitVarWithCustomSetterInCtor
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
FIELD public final var x: kotlin.Int
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
|
||||
@@ -2,7 +2,7 @@ FILE /objectLiteralExpressions.kt
|
||||
CLASS INTERFACE IFoo
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
PROPERTY public val test1: kotlin.Any
|
||||
FIELD public val test1: kotlin.Any
|
||||
FIELD PROPERTY_BACKING_FIELD public val test1: kotlin.Any
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=test1.<no name provided> operator=OBJECT_LITERAL
|
||||
CLASS CLASS <no name provided>
|
||||
@@ -11,12 +11,12 @@ FILE /objectLiteralExpressions.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
|
||||
CALL 'constructor <no name provided>()' type=test1.<no name provided> operator=OBJECT_LITERAL
|
||||
FUN public fun <get-test1>(): kotlin.Any
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): kotlin.Any
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): Any'
|
||||
GET_BACKING_FIELD 'test1: Any' type=kotlin.Any operator=null
|
||||
PROPERTY public val test2: IFoo
|
||||
FIELD public val test2: IFoo
|
||||
FIELD PROPERTY_BACKING_FIELD public val test2: IFoo
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=test2.<no name provided> operator=OBJECT_LITERAL
|
||||
CLASS CLASS <no name provided>
|
||||
@@ -29,7 +29,7 @@ FILE /objectLiteralExpressions.kt
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
message: CONST String type=kotlin.String value='foo'
|
||||
CALL 'constructor <no name provided>()' type=test2.<no name provided> operator=OBJECT_LITERAL
|
||||
FUN public fun <get-test2>(): IFoo
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test2>(): IFoo
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): IFoo'
|
||||
GET_BACKING_FIELD 'test2: IFoo' type=IFoo operator=null
|
||||
|
||||
@@ -10,17 +10,17 @@ FILE /objectWithInitializers.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test'
|
||||
PROPERTY public final val x: kotlin.Int = 1
|
||||
FIELD public final val x: kotlin.Int = 1
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int = 1
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'Test' type=Test
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
FIELD public final val y: kotlin.Int
|
||||
FUN public final fun <get-y>(): kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val y: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int operator=null
|
||||
|
||||
+12
-12
@@ -5,19 +5,19 @@ FILE /primaryConstructor.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'Test1' type=Test1
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-y>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int operator=null
|
||||
@@ -28,19 +28,19 @@ FILE /primaryConstructor.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-y>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'Test2' type=Test2
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD 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 operator=null
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
@@ -51,17 +51,17 @@ FILE /primaryConstructor.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test3'
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-y>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'Test3' type=Test3
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD public final val x: kotlin.Int
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
|
||||
+4
-4
@@ -20,19 +20,19 @@ FILE /primaryConstructorWithSuperConstructorCall.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestWithDelegatingConstructor'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'TestWithDelegatingConstructor' type=TestWithDelegatingConstructor
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-y>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int operator=null
|
||||
|
||||
+6
-6
@@ -10,10 +10,10 @@ FILE /sealedClasses.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Expr()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Const'
|
||||
PROPERTY public final val number: kotlin.Double
|
||||
FIELD public final val number: kotlin.Double
|
||||
FIELD PROPERTY_BACKING_FIELD public final val number: kotlin.Double
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter number: Double' type=kotlin.Double operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-number>(): kotlin.Double
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-number>(): kotlin.Double
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-number>(): Double'
|
||||
GET_BACKING_FIELD 'number: Double' type=kotlin.Double operator=null
|
||||
@@ -24,19 +24,19 @@ FILE /sealedClasses.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Expr()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Sum'
|
||||
PROPERTY public final val e1: Expr
|
||||
FIELD public final val e1: Expr
|
||||
FIELD PROPERTY_BACKING_FIELD public final val e1: Expr
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter e1: Expr' type=Expr operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-e1>(): Expr
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-e1>(): Expr
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-e1>(): Expr'
|
||||
GET_BACKING_FIELD 'e1: Expr' type=Expr operator=null
|
||||
receiver: THIS of 'Sum' type=Expr.Sum
|
||||
PROPERTY public final val e2: Expr
|
||||
FIELD public final val e2: Expr
|
||||
FIELD PROPERTY_BACKING_FIELD public final val e2: Expr
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter e2: Expr' type=Expr operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-e2>(): Expr
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-e2>(): Expr
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-e2>(): Expr'
|
||||
GET_BACKING_FIELD 'e2: Expr' type=Expr operator=null
|
||||
|
||||
+4
-4
@@ -6,10 +6,10 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Base'
|
||||
CLASS CLASS TestProperty
|
||||
PROPERTY public final val x: kotlin.Int = 0
|
||||
FIELD 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 public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
@@ -20,8 +20,8 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestProperty'
|
||||
CLASS CLASS TestInitBlock
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD public final val x: kotlin.Int
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
|
||||
+2
-2
@@ -7,10 +7,10 @@ FILE /superCalls.kt
|
||||
FUN public open fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
PROPERTY public open val bar: kotlin.String = ""
|
||||
FIELD 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 public open fun <get-bar>(): kotlin.String
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public open fun <get-bar>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): String'
|
||||
GET_BACKING_FIELD 'bar: String' type=kotlin.String operator=null
|
||||
|
||||
@@ -5,10 +5,10 @@ FILE /classLevelProperties.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='C'
|
||||
PROPERTY public final val test1: kotlin.Int = 0
|
||||
FIELD public final val test1: kotlin.Int = 0
|
||||
FIELD PROPERTY_BACKING_FIELD public final val test1: kotlin.Int = 0
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public final fun <get-test1>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-test1>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): Int'
|
||||
GET_BACKING_FIELD 'test1: Int' type=kotlin.Int operator=null
|
||||
@@ -19,24 +19,24 @@ FILE /classLevelProperties.kt
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): Int'
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
PROPERTY public final var test3: kotlin.Int
|
||||
FIELD public final var test3: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var test3: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public final fun <get-test3>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-test3>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test3>(): Int'
|
||||
GET_BACKING_FIELD 'test3: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'C' type=C
|
||||
FUN public final fun <set-test3>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-test3>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'test3: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'C' type=C
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
PROPERTY public final var test4: kotlin.Int
|
||||
FIELD public final var test4: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var test4: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
FUN public final fun <get-test4>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-test4>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test4>(): Int'
|
||||
GET_BACKING_FIELD 'test4: Int' type=kotlin.Int operator=null
|
||||
@@ -46,10 +46,10 @@ FILE /classLevelProperties.kt
|
||||
SET_BACKING_FIELD 'test4: Int' type=kotlin.Unit operator=EQ
|
||||
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int operator=null
|
||||
PROPERTY public final var test5: kotlin.Int
|
||||
FIELD public final var test5: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var test5: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
FUN public final fun <get-test5>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-test5>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test5>(): Int'
|
||||
GET_BACKING_FIELD 'test5: Int' type=kotlin.Int operator=null
|
||||
@@ -60,7 +60,7 @@ FILE /classLevelProperties.kt
|
||||
receiver: THIS of 'C' type=C
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
PROPERTY public final val test6: kotlin.Int = 1
|
||||
FIELD public final val test6: kotlin.Int = 1
|
||||
FIELD PROPERTY_BACKING_FIELD public final val test6: kotlin.Int = 1
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
FUN public final fun <get-test6>(): kotlin.Int
|
||||
@@ -69,16 +69,16 @@ FILE /classLevelProperties.kt
|
||||
GET_BACKING_FIELD 'test6: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'C' type=C
|
||||
PROPERTY public final val test7: kotlin.Int
|
||||
FIELD val `test7$delegate`: kotlin.Lazy<kotlin.Int>
|
||||
FIELD DELEGATE val `test7$delegate`: kotlin.Lazy<kotlin.Int>
|
||||
EXPRESSION_BODY
|
||||
CALL 'lazy(() -> Int): Lazy<Int>' type=kotlin.Lazy<kotlin.Int> operator=null
|
||||
initializer: BLOCK type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Int
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Int'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Int' type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN public final fun <get-test7>(): kotlin.Int
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR public final fun <get-test7>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test7>(): Int'
|
||||
CALL 'getValue(Any?, KProperty<*>) on Lazy<Int>: Int' type=kotlin.Int operator=null
|
||||
@@ -87,10 +87,10 @@ FILE /classLevelProperties.kt
|
||||
thisRef: THIS of 'C' type=C
|
||||
property: CALLABLE_REFERENCE 'test7: Int' type=kotlin.reflect.KProperty1<C, kotlin.Int> operator=PROPERTY_REFERENCE_FOR_DELEGATE
|
||||
PROPERTY public final var test8: kotlin.Int
|
||||
FIELD val `test8$delegate`: java.util.HashMap<kotlin.String, kotlin.Int>
|
||||
FIELD DELEGATE val `test8$delegate`: java.util.HashMap<kotlin.String, kotlin.Int>
|
||||
EXPRESSION_BODY
|
||||
CALL 'hashMapOf(vararg Pair<String, Int>): HashMap<String, Int>' type=java.util.HashMap<kotlin.String, kotlin.Int> operator=null
|
||||
FUN public final fun <get-test8>(): kotlin.Int
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR public final fun <get-test8>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test8>(): Int'
|
||||
CALL 'getValue(Any?, KProperty<*>) on MutableMap<in String, in Int>: Int' type=kotlin.Int operator=null
|
||||
@@ -98,7 +98,7 @@ FILE /classLevelProperties.kt
|
||||
receiver: THIS of 'C' type=C
|
||||
thisRef: THIS of 'C' type=C
|
||||
property: CALLABLE_REFERENCE 'test8: Int' type=kotlin.reflect.KMutableProperty1<C, kotlin.Int> operator=PROPERTY_REFERENCE_FOR_DELEGATE
|
||||
FUN public final fun <set-test8>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR public final fun <set-test8>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<set-test8>(Int): Unit'
|
||||
CALL 'setValue(Any?, KProperty<*>, Int) on MutableMap<in String, in Int>: Unit' type=kotlin.Unit operator=null
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
FILE /delegatedProperties.kt
|
||||
PROPERTY public val test1: kotlin.Int
|
||||
FIELD val `test1$delegate`: kotlin.Lazy<kotlin.Int>
|
||||
FIELD DELEGATE val `test1$delegate`: kotlin.Lazy<kotlin.Int>
|
||||
EXPRESSION_BODY
|
||||
CALL 'lazy(() -> Int): Lazy<Int>' type=kotlin.Lazy<kotlin.Int> operator=null
|
||||
initializer: BLOCK type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Int
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Int'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Int' type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN public fun <get-test1>(): kotlin.Int
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR public fun <get-test1>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): Int'
|
||||
CALL 'getValue(Any?, KProperty<*>) on Lazy<Int>: Int' type=kotlin.Int operator=null
|
||||
@@ -22,25 +22,25 @@ FILE /delegatedProperties.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='C'
|
||||
PROPERTY public final val map: kotlin.collections.MutableMap<kotlin.String, kotlin.Any>
|
||||
FIELD public final val map: kotlin.collections.MutableMap<kotlin.String, kotlin.Any>
|
||||
FIELD PROPERTY_BACKING_FIELD public final val map: kotlin.collections.MutableMap<kotlin.String, kotlin.Any>
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter map: MutableMap<String, Any>' type=kotlin.collections.MutableMap<kotlin.String, kotlin.Any> operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-map>(): kotlin.collections.MutableMap<kotlin.String, kotlin.Any>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-map>(): kotlin.collections.MutableMap<kotlin.String, kotlin.Any>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-map>(): MutableMap<String, Any>'
|
||||
GET_BACKING_FIELD 'map: MutableMap<String, Any>' type=kotlin.collections.MutableMap<kotlin.String, kotlin.Any> operator=null
|
||||
receiver: THIS of 'C' type=C
|
||||
PROPERTY public final val test2: kotlin.Int
|
||||
FIELD val `test2$delegate`: kotlin.Lazy<kotlin.Int>
|
||||
FIELD DELEGATE val `test2$delegate`: kotlin.Lazy<kotlin.Int>
|
||||
EXPRESSION_BODY
|
||||
CALL 'lazy(() -> Int): Lazy<Int>' type=kotlin.Lazy<kotlin.Int> operator=null
|
||||
initializer: BLOCK type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Int
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Int'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Int' type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN public final fun <get-test2>(): kotlin.Int
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR public final fun <get-test2>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): Int'
|
||||
CALL 'getValue(Any?, KProperty<*>) on Lazy<Int>: Int' type=kotlin.Int operator=null
|
||||
@@ -49,11 +49,11 @@ FILE /delegatedProperties.kt
|
||||
thisRef: THIS of 'C' type=C
|
||||
property: CALLABLE_REFERENCE 'test2: Int' type=kotlin.reflect.KProperty1<C, kotlin.Int> operator=PROPERTY_REFERENCE_FOR_DELEGATE
|
||||
PROPERTY public final var test3: kotlin.Any
|
||||
FIELD val `test3$delegate`: kotlin.collections.MutableMap<kotlin.String, kotlin.Any>
|
||||
FIELD DELEGATE val `test3$delegate`: kotlin.collections.MutableMap<kotlin.String, kotlin.Any>
|
||||
EXPRESSION_BODY
|
||||
CALL '<get-map>(): MutableMap<String, Any>' type=kotlin.collections.MutableMap<kotlin.String, kotlin.Any> operator=GET_PROPERTY
|
||||
$this: THIS of 'C' type=C
|
||||
FUN public final fun <get-test3>(): kotlin.Any
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR public final fun <get-test3>(): kotlin.Any
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test3>(): Any'
|
||||
CALL 'getValue(Any?, KProperty<*>) on MutableMap<in String, in Any>: Any' type=kotlin.Any operator=null
|
||||
@@ -61,7 +61,7 @@ FILE /delegatedProperties.kt
|
||||
receiver: THIS of 'C' type=C
|
||||
thisRef: THIS of 'C' type=C
|
||||
property: CALLABLE_REFERENCE 'test3: Any' type=kotlin.reflect.KMutableProperty1<C, kotlin.Any> operator=PROPERTY_REFERENCE_FOR_DELEGATE
|
||||
FUN public final fun <set-test3>(<set-?>: kotlin.Any): kotlin.Unit
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR public final fun <set-test3>(<set-?>: kotlin.Any): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<set-test3>(Any): Unit'
|
||||
CALL 'setValue(Any?, KProperty<*>, Any) on MutableMap<in String, in Any>: Unit' type=kotlin.Unit operator=null
|
||||
@@ -71,17 +71,17 @@ FILE /delegatedProperties.kt
|
||||
property: CALLABLE_REFERENCE 'test3: Any' type=kotlin.reflect.KMutableProperty1<C, kotlin.Any> operator=PROPERTY_REFERENCE_FOR_DELEGATE
|
||||
value: GET_VAR 'value-parameter <set-?>: Any' type=kotlin.Any operator=null
|
||||
PROPERTY public var test4: kotlin.Any
|
||||
FIELD val `test4$delegate`: java.util.HashMap<kotlin.String, kotlin.Any>
|
||||
FIELD DELEGATE val `test4$delegate`: java.util.HashMap<kotlin.String, kotlin.Any>
|
||||
EXPRESSION_BODY
|
||||
CALL 'hashMapOf(vararg Pair<String, Any>): HashMap<String, Any>' type=java.util.HashMap<kotlin.String, kotlin.Any> operator=null
|
||||
FUN public fun <get-test4>(): kotlin.Any
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR public fun <get-test4>(): kotlin.Any
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test4>(): Any'
|
||||
CALL 'getValue(Any?, KProperty<*>) on MutableMap<in String, in Any>: Any' type=kotlin.Any operator=null
|
||||
$receiver: GET_BACKING_FIELD '`test4$delegate`: HashMap<String, Any>' type=java.util.HashMap<kotlin.String, kotlin.Any> operator=null
|
||||
thisRef: CONST Null type=kotlin.Nothing? value='null'
|
||||
property: CALLABLE_REFERENCE 'test4: Any' type=kotlin.reflect.KMutableProperty0<kotlin.Any> operator=PROPERTY_REFERENCE_FOR_DELEGATE
|
||||
FUN public fun <set-test4>(<set-?>: kotlin.Any): kotlin.Unit
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR public fun <set-test4>(<set-?>: kotlin.Any): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<set-test4>(Any): Unit'
|
||||
CALL 'setValue(Any?, KProperty<*>, Any) on MutableMap<in String, in Any>: Unit' type=kotlin.Unit operator=null
|
||||
|
||||
@@ -4,10 +4,10 @@ FILE /fileWithAnnotations.kt
|
||||
FUN public fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
PROPERTY public val bar: kotlin.Int = 42
|
||||
FIELD public val bar: kotlin.Int = 42
|
||||
FIELD PROPERTY_BACKING_FIELD public val bar: kotlin.Int = 42
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
FUN public fun <get-bar>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-bar>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
|
||||
GET_BACKING_FIELD 'bar: Int' type=kotlin.Int operator=null
|
||||
|
||||
@@ -2,15 +2,15 @@ FILE /localDelegatedProperties.kt
|
||||
FUN public fun test1(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
LOCAL_DELEGATED_PROPERTY val x: kotlin.Int
|
||||
VAR val `x$delegate`: kotlin.Lazy<kotlin.Int>
|
||||
VAR DELEGATE val `x$delegate`: kotlin.Lazy<kotlin.Int>
|
||||
CALL 'lazy(() -> Int): Lazy<Int>' type=kotlin.Lazy<kotlin.Int> operator=null
|
||||
initializer: BLOCK type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Int
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Int'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Int' type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun <get-x>(): kotlin.Int
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR local final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
CALL 'getValue(Any?, KProperty<*>) on Lazy<Int>: Int' type=kotlin.Int operator=null
|
||||
@@ -22,16 +22,16 @@ FILE /localDelegatedProperties.kt
|
||||
FUN public fun test2(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
LOCAL_DELEGATED_PROPERTY var x: kotlin.Int
|
||||
VAR val `x$delegate`: java.util.HashMap<kotlin.String, kotlin.Int>
|
||||
VAR DELEGATE val `x$delegate`: java.util.HashMap<kotlin.String, kotlin.Int>
|
||||
CALL 'hashMapOf(vararg Pair<String, Int>): HashMap<String, Int>' type=java.util.HashMap<kotlin.String, kotlin.Int> operator=null
|
||||
FUN local final fun <get-x>(): kotlin.Int
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR local final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
CALL 'getValue(Any?, KProperty<*>) on MutableMap<in String, in Int>: Int' type=kotlin.Int operator=null
|
||||
$receiver: GET_VAR '`x$delegate`: HashMap<String, Int>' type=java.util.HashMap<kotlin.String, kotlin.Int> operator=null
|
||||
thisRef: CONST Null type=kotlin.Nothing? value='null'
|
||||
property: CALLABLE_REFERENCE 'x: Int' type=kotlin.reflect.KMutableProperty0<kotlin.Int> operator=PROPERTY_REFERENCE_FOR_DELEGATE
|
||||
FUN local final fun <set-x>(value: kotlin.Int): kotlin.Int
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR local final fun <set-x>(value: kotlin.Int): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<set-x>(Int): Int'
|
||||
TYPE_OP operator=IMPLICIT_CAST typeOperand=kotlin.Int
|
||||
@@ -43,7 +43,7 @@ FILE /localDelegatedProperties.kt
|
||||
CALL '<set-x>(Int): Int' type=kotlin.Int operator=EQ
|
||||
value: CONST Int type=kotlin.Int value='0'
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0: kotlin.Int
|
||||
CALL '<get-x>(): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
CALL '<set-x>(Int): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
value: CALL 'inc(): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
FILE /packageLevelProperties.kt
|
||||
PROPERTY public val test1: kotlin.Int = 0
|
||||
FIELD public val test1: kotlin.Int = 0
|
||||
FIELD PROPERTY_BACKING_FIELD public val test1: kotlin.Int = 0
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public fun <get-test1>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): Int'
|
||||
GET_BACKING_FIELD 'test1: Int' type=kotlin.Int operator=null
|
||||
@@ -13,22 +13,22 @@ FILE /packageLevelProperties.kt
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): Int'
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
PROPERTY public var test3: kotlin.Int
|
||||
FIELD public var test3: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public var test3: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public fun <get-test3>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test3>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test3>(): Int'
|
||||
GET_BACKING_FIELD 'test3: Int' type=kotlin.Int operator=null
|
||||
FUN public fun <set-test3>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <set-test3>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'test3: Int' type=kotlin.Unit operator=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
PROPERTY public var test4: kotlin.Int
|
||||
FIELD public var test4: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public var test4: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
FUN public fun <get-test4>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test4>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test4>(): Int'
|
||||
GET_BACKING_FIELD 'test4: Int' type=kotlin.Int operator=null
|
||||
@@ -37,10 +37,10 @@ FILE /packageLevelProperties.kt
|
||||
SET_BACKING_FIELD 'test4: Int' type=kotlin.Unit operator=EQ
|
||||
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int operator=null
|
||||
PROPERTY public var test5: kotlin.Int
|
||||
FIELD public var test5: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public var test5: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
FUN public fun <get-test5>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test5>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test5>(): Int'
|
||||
GET_BACKING_FIELD 'test5: Int' type=kotlin.Int operator=null
|
||||
@@ -49,7 +49,7 @@ FILE /packageLevelProperties.kt
|
||||
SET_BACKING_FIELD 'test5: Int' type=kotlin.Unit operator=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
PROPERTY public val test6: kotlin.Int = 1
|
||||
FIELD public val test6: kotlin.Int = 1
|
||||
FIELD PROPERTY_BACKING_FIELD public val test6: kotlin.Int = 1
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
FUN public fun <get-test6>(): kotlin.Int
|
||||
@@ -57,16 +57,16 @@ FILE /packageLevelProperties.kt
|
||||
RETURN type=kotlin.Nothing from='<get-test6>(): Int'
|
||||
GET_BACKING_FIELD 'test6: Int' type=kotlin.Int operator=null
|
||||
PROPERTY public val test7: kotlin.Int
|
||||
FIELD val `test7$delegate`: kotlin.Lazy<kotlin.Int>
|
||||
FIELD DELEGATE val `test7$delegate`: kotlin.Lazy<kotlin.Int>
|
||||
EXPRESSION_BODY
|
||||
CALL 'lazy(() -> Int): Lazy<Int>' type=kotlin.Lazy<kotlin.Int> operator=null
|
||||
initializer: BLOCK type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Int
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Int'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Int' type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN public fun <get-test7>(): kotlin.Int
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR public fun <get-test7>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test7>(): Int'
|
||||
CALL 'getValue(Any?, KProperty<*>) on Lazy<Int>: Int' type=kotlin.Int operator=null
|
||||
@@ -74,17 +74,17 @@ FILE /packageLevelProperties.kt
|
||||
thisRef: CONST Null type=kotlin.Nothing? value='null'
|
||||
property: CALLABLE_REFERENCE 'test7: Int' type=kotlin.reflect.KProperty0<kotlin.Int> operator=PROPERTY_REFERENCE_FOR_DELEGATE
|
||||
PROPERTY public var test8: kotlin.Int
|
||||
FIELD val `test8$delegate`: java.util.HashMap<kotlin.String, kotlin.Int>
|
||||
FIELD DELEGATE val `test8$delegate`: java.util.HashMap<kotlin.String, kotlin.Int>
|
||||
EXPRESSION_BODY
|
||||
CALL 'hashMapOf(vararg Pair<String, Int>): HashMap<String, Int>' type=java.util.HashMap<kotlin.String, kotlin.Int> operator=null
|
||||
FUN public fun <get-test8>(): kotlin.Int
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR public fun <get-test8>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test8>(): Int'
|
||||
CALL 'getValue(Any?, KProperty<*>) on MutableMap<in String, in Int>: Int' type=kotlin.Int operator=null
|
||||
$receiver: GET_BACKING_FIELD '`test8$delegate`: HashMap<String, Int>' type=java.util.HashMap<kotlin.String, kotlin.Int> operator=null
|
||||
thisRef: CONST Null type=kotlin.Nothing? value='null'
|
||||
property: CALLABLE_REFERENCE 'test8: Int' type=kotlin.reflect.KMutableProperty0<kotlin.Int> operator=PROPERTY_REFERENCE_FOR_DELEGATE
|
||||
FUN public fun <set-test8>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DELEGATED_PROPERTY_ACCESSOR public fun <set-test8>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<set-test8>(Int): Unit'
|
||||
CALL 'setValue(Any?, KProperty<*>, Int) on MutableMap<in String, in Int>: Unit' type=kotlin.Unit operator=null
|
||||
|
||||
@@ -7,10 +7,10 @@ FILE /primaryCtorDefaultArguments.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test'
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD 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 operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
|
||||
@@ -5,24 +5,24 @@ FILE /primaryCtorProperties.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='C'
|
||||
PROPERTY public final val test1: kotlin.Int
|
||||
FIELD public final val test1: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val test1: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter test1: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-test1>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-test1>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): Int'
|
||||
GET_BACKING_FIELD 'test1: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'C' type=C
|
||||
PROPERTY public final var test2: kotlin.Int
|
||||
FIELD public final var test2: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var test2: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter test2: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-test2>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-test2>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): Int'
|
||||
GET_BACKING_FIELD 'test2: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'C' type=C
|
||||
FUN public final fun <set-test2>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-test2>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'test2: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'C' type=C
|
||||
|
||||
@@ -1,35 +1,35 @@
|
||||
FILE /unresolvedReference.kt
|
||||
PROPERTY public val test1: [ERROR : Type for unresolved]
|
||||
FIELD public val test1: [ERROR : Type for unresolved]
|
||||
FIELD PROPERTY_BACKING_FIELD public val test1: [ERROR : Type for unresolved]
|
||||
EXPRESSION_BODY
|
||||
ERROR_CALL '' type=[ERROR : ]
|
||||
FUN public fun <get-test1>(): [ERROR : Type for unresolved]
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): [ERROR : Type for unresolved]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): [ERROR : Type for unresolved]'
|
||||
GET_BACKING_FIELD 'test1: [ERROR : Type for unresolved]' type=[ERROR : Type for unresolved] operator=null
|
||||
PROPERTY public val test2: [ERROR : Unresolved]
|
||||
FIELD public val test2: [ERROR : Unresolved]
|
||||
FIELD PROPERTY_BACKING_FIELD public val test2: [ERROR : Unresolved]
|
||||
EXPRESSION_BODY
|
||||
ERROR_CALL '' type=[ERROR : ]
|
||||
FUN public fun <get-test2>(): [ERROR : Unresolved]
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test2>(): [ERROR : Unresolved]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): [ERROR : Unresolved]'
|
||||
GET_BACKING_FIELD 'test2: [ERROR : Unresolved]' type=[ERROR : Unresolved] operator=null
|
||||
PROPERTY public val test3: [ERROR : Type for 42.unresolved(56)]
|
||||
FIELD public val test3: [ERROR : Type for 42.unresolved(56)]
|
||||
FIELD PROPERTY_BACKING_FIELD public val test3: [ERROR : Type for 42.unresolved(56)]
|
||||
EXPRESSION_BODY
|
||||
ERROR_CALL '' type=[ERROR : ]
|
||||
receiver: CONST Int type=kotlin.Int value='42'
|
||||
CONST Int type=kotlin.Int value='56'
|
||||
FUN public fun <get-test3>(): [ERROR : Type for 42.unresolved(56)]
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test3>(): [ERROR : Type for 42.unresolved(56)]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test3>(): [ERROR : Type for 42.unresolved(56)]'
|
||||
GET_BACKING_FIELD 'test3: [ERROR : Type for 42.unresolved(56)]' type=[ERROR : Type for 42.unresolved(56)] operator=null
|
||||
PROPERTY public val test4: [ERROR : Type for 42 *]
|
||||
FIELD public val test4: [ERROR : Type for 42 *]
|
||||
FIELD PROPERTY_BACKING_FIELD public val test4: [ERROR : Type for 42 *]
|
||||
EXPRESSION_BODY
|
||||
ERROR_EXPR '' type=[ERROR : ]
|
||||
FUN public fun <get-test4>(): [ERROR : Type for 42 *]
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test4>(): [ERROR : Type for 42 *]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test4>(): [ERROR : Type for 42 *]'
|
||||
GET_BACKING_FIELD 'test4: [ERROR : Type for 42 *]' type=[ERROR : Type for 42 *] operator=null
|
||||
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
FILE /arrayAccess.kt
|
||||
PROPERTY public val p: kotlin.Int = 0
|
||||
FIELD public val p: kotlin.Int = 0
|
||||
FIELD PROPERTY_BACKING_FIELD public val p: kotlin.Int = 0
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public fun <get-p>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-p>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-p>(): Int'
|
||||
GET_BACKING_FIELD 'p: Int' type=kotlin.Int operator=null
|
||||
|
||||
@@ -17,10 +17,10 @@ FILE /arrayAugmentedAssignment1.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='C'
|
||||
PROPERTY public final val x: kotlin.IntArray
|
||||
FIELD public final val x: kotlin.IntArray
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.IntArray
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: IntArray' type=kotlin.IntArray operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-x>(): kotlin.IntArray
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.IntArray
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): IntArray'
|
||||
GET_BACKING_FIELD 'x: IntArray' type=kotlin.IntArray operator=null
|
||||
@@ -30,9 +30,9 @@ FILE /arrayAugmentedAssignment1.kt
|
||||
VAR var x: kotlin.IntArray
|
||||
CALL 'foo(): IntArray' type=kotlin.IntArray operator=null
|
||||
BLOCK type=kotlin.Unit operator=PLUSEQ
|
||||
VAR val tmp0_array: kotlin.IntArray
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_array: kotlin.IntArray
|
||||
GET_VAR 'x: IntArray' type=kotlin.IntArray operator=null
|
||||
VAR val tmp1_index0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_index0: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
CALL 'set(Int, Int): Unit' type=kotlin.Unit operator=PLUSEQ
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray operator=null
|
||||
@@ -45,9 +45,9 @@ FILE /arrayAugmentedAssignment1.kt
|
||||
FUN public fun testCall(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit operator=MULTEQ
|
||||
VAR val tmp0_array: kotlin.IntArray
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_array: kotlin.IntArray
|
||||
CALL 'foo(): IntArray' type=kotlin.IntArray operator=null
|
||||
VAR val tmp1_index0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_index0: kotlin.Int
|
||||
CALL 'bar(): Int' type=kotlin.Int operator=null
|
||||
CALL 'set(Int, Int): Unit' type=kotlin.Unit operator=MULTEQ
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray operator=null
|
||||
@@ -60,12 +60,12 @@ FILE /arrayAugmentedAssignment1.kt
|
||||
FUN public fun testMember(c: C): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp0_array: kotlin.IntArray
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_array: kotlin.IntArray
|
||||
CALL '<get-x>(): IntArray' type=kotlin.IntArray operator=GET_PROPERTY
|
||||
$this: GET_VAR 'value-parameter c: C' type=C operator=null
|
||||
VAR val tmp1_index0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_index0: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
VAR val tmp2: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp2: kotlin.Int
|
||||
CALL 'get(Int): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray operator=null
|
||||
index: GET_VAR 'tmp1_index0: Int' type=kotlin.Int operator=null
|
||||
|
||||
@@ -6,9 +6,9 @@ FILE /arrayAugmentedAssignment2.kt
|
||||
FUN public fun IB.test(a: IA): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit operator=PLUSEQ
|
||||
VAR val tmp0_array: IA
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_array: IA
|
||||
GET_VAR 'value-parameter a: IA' type=IA operator=null
|
||||
VAR val tmp1_index0: kotlin.String
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_index0: kotlin.String
|
||||
CONST String type=kotlin.String value=''
|
||||
CALL 'set(String, Int) on IA: Unit' type=kotlin.Unit operator=PLUSEQ
|
||||
$this: $RECEIVER of 'test(IA) on IB: Unit' type=IB
|
||||
|
||||
+3
-3
@@ -5,15 +5,15 @@ FILE /assignments.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Ref'
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
FIELD public final var x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-x>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'Ref' type=Ref
|
||||
FUN public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Ref' type=Ref
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
FILE /augmentedAssignment1.kt
|
||||
PROPERTY public var p: kotlin.Int
|
||||
FIELD public var p: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public var p: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public fun <get-p>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-p>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-p>(): Int'
|
||||
GET_BACKING_FIELD 'p: Int' type=kotlin.Int operator=null
|
||||
FUN public fun <set-p>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <set-p>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'p: Int' type=kotlin.Unit operator=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
|
||||
@@ -15,10 +15,10 @@ FILE /augmentedAssignment2.kt
|
||||
FUN public operator fun A.modAssign(s: kotlin.String): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
PROPERTY public val p: A
|
||||
FIELD public val p: A
|
||||
FIELD PROPERTY_BACKING_FIELD public val p: A
|
||||
EXPRESSION_BODY
|
||||
CALL 'constructor A()' type=A operator=null
|
||||
FUN public fun <get-p>(): A
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-p>(): A
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-p>(): A'
|
||||
GET_BACKING_FIELD 'p: A' type=A operator=null
|
||||
|
||||
@@ -17,7 +17,7 @@ FILE /badBreakContinue.kt
|
||||
body: BLOCK type=kotlin.Unit operator=null
|
||||
VAR val lambda: () -> kotlin.Nothing
|
||||
BLOCK type=() -> kotlin.Nothing operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Nothing
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Nothing
|
||||
BLOCK_BODY
|
||||
ERROR_EXPR 'Loop not found for break expression: break@L1' type=kotlin.Nothing
|
||||
ERROR_EXPR 'Loop not found for continue expression: continue@L1' type=kotlin.Nothing
|
||||
|
||||
+3
-3
@@ -3,7 +3,7 @@ FILE /bangbang.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test1(Any?): Any'
|
||||
BLOCK type=kotlin.Any operator=EXCLEXCL
|
||||
VAR val tmp0_notnull: kotlin.Any?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_notnull: kotlin.Any?
|
||||
GET_VAR 'value-parameter a: Any?' type=kotlin.Any? operator=null
|
||||
WHEN type=kotlin.Any operator=null
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -15,9 +15,9 @@ FILE /bangbang.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test2(Any?): Int'
|
||||
BLOCK type=kotlin.Int operator=EXCLEXCL
|
||||
VAR val tmp1_notnull: kotlin.Int?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_notnull: kotlin.Int?
|
||||
BLOCK type=kotlin.Int? operator=SAFE_CALL
|
||||
VAR val tmp0_safe_receiver: kotlin.Any?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_safe_receiver: kotlin.Any?
|
||||
GET_VAR 'value-parameter a: Any?' type=kotlin.Any? operator=null
|
||||
WHEN type=kotlin.Int? operator=SAFE_CALL
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
|
||||
@@ -7,10 +7,10 @@ FILE /boundCallableReferences.kt
|
||||
FUN public final fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
PROPERTY public final val bar: kotlin.Int = 0
|
||||
FIELD public final val bar: kotlin.Int = 0
|
||||
FIELD PROPERTY_BACKING_FIELD public final val bar: kotlin.Int = 0
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public final fun <get-bar>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-bar>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
|
||||
GET_BACKING_FIELD 'bar: Int' type=kotlin.Int operator=null
|
||||
@@ -18,29 +18,29 @@ FILE /boundCallableReferences.kt
|
||||
FUN public fun A.qux(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
PROPERTY public val test1: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
FIELD public val test1: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test1: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
EXPRESSION_BODY
|
||||
CALLABLE_REFERENCE 'foo(): Unit' type=kotlin.reflect.KFunction0<kotlin.Unit> operator=null
|
||||
$this: CALL 'constructor A()' type=A operator=null
|
||||
FUN public fun <get-test1>(): kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): KFunction0<Unit>'
|
||||
GET_BACKING_FIELD 'test1: KFunction0<Unit>' type=kotlin.reflect.KFunction0<kotlin.Unit> operator=null
|
||||
PROPERTY public val test2: kotlin.reflect.KProperty0<kotlin.Int>
|
||||
FIELD public val test2: kotlin.reflect.KProperty0<kotlin.Int>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test2: kotlin.reflect.KProperty0<kotlin.Int>
|
||||
EXPRESSION_BODY
|
||||
CALLABLE_REFERENCE 'bar: Int' type=kotlin.reflect.KProperty0<kotlin.Int> operator=null
|
||||
$this: CALL 'constructor A()' type=A operator=null
|
||||
FUN public fun <get-test2>(): kotlin.reflect.KProperty0<kotlin.Int>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test2>(): kotlin.reflect.KProperty0<kotlin.Int>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): KProperty0<Int>'
|
||||
GET_BACKING_FIELD 'test2: KProperty0<Int>' type=kotlin.reflect.KProperty0<kotlin.Int> operator=null
|
||||
PROPERTY public val test3: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
FIELD public val test3: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test3: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
EXPRESSION_BODY
|
||||
CALLABLE_REFERENCE 'qux() on A: Unit' type=kotlin.reflect.KFunction0<kotlin.Unit> operator=null
|
||||
$receiver: CALL 'constructor A()' type=A operator=null
|
||||
FUN public fun <get-test3>(): kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test3>(): kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test3>(): KFunction0<Unit>'
|
||||
GET_BACKING_FIELD 'test3: KFunction0<Unit>' type=kotlin.reflect.KFunction0<kotlin.Unit> operator=null
|
||||
|
||||
@@ -6,7 +6,7 @@ FILE /breakContinueInLoopHeader.kt
|
||||
body: BLOCK type=kotlin.Unit operator=null
|
||||
WHILE label=null operator=WHILE_LOOP
|
||||
condition: BLOCK type=kotlin.Boolean operator=ELVIS
|
||||
VAR val tmp0_elvis_lhs: kotlin.Boolean?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_elvis_lhs: kotlin.Boolean?
|
||||
GET_VAR 'value-parameter c: Boolean?' type=kotlin.Boolean? operator=null
|
||||
WHEN type=kotlin.Boolean operator=null
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -21,7 +21,7 @@ FILE /breakContinueInLoopHeader.kt
|
||||
body: BLOCK type=kotlin.Unit operator=null
|
||||
WHILE label=null operator=WHILE_LOOP
|
||||
condition: BLOCK type=kotlin.Boolean operator=ELVIS
|
||||
VAR val tmp0_elvis_lhs: kotlin.Boolean?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_elvis_lhs: kotlin.Boolean?
|
||||
GET_VAR 'value-parameter c: Boolean?' type=kotlin.Boolean? operator=null
|
||||
WHEN type=kotlin.Boolean operator=null
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -35,10 +35,10 @@ FILE /breakContinueInLoopHeader.kt
|
||||
condition: CONST Boolean type=kotlin.Boolean value='true'
|
||||
body: BLOCK type=kotlin.Unit operator=null
|
||||
BLOCK type=kotlin.Unit operator=FOR_LOOP
|
||||
VAR val tmp1_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
CALL 'iterator(): Iterator<String>' type=kotlin.collections.Iterator<kotlin.String> operator=FOR_LOOP_ITERATOR
|
||||
$this: BLOCK type=kotlin.collections.List<kotlin.String> operator=ELVIS
|
||||
VAR val tmp0_elvis_lhs: kotlin.collections.List<kotlin.String>?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_elvis_lhs: kotlin.collections.List<kotlin.String>?
|
||||
GET_VAR 'value-parameter ss: List<String>?' type=kotlin.collections.List<kotlin.String>? operator=null
|
||||
WHEN type=kotlin.collections.List<kotlin.String> operator=null
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -59,10 +59,10 @@ FILE /breakContinueInLoopHeader.kt
|
||||
condition: CONST Boolean type=kotlin.Boolean value='true'
|
||||
body: BLOCK type=kotlin.Unit operator=null
|
||||
BLOCK type=kotlin.Unit operator=FOR_LOOP
|
||||
VAR val tmp1_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
CALL 'iterator(): Iterator<String>' type=kotlin.collections.Iterator<kotlin.String> operator=FOR_LOOP_ITERATOR
|
||||
$this: BLOCK type=kotlin.collections.List<kotlin.String> operator=ELVIS
|
||||
VAR val tmp0_elvis_lhs: kotlin.collections.List<kotlin.String>?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_elvis_lhs: kotlin.collections.List<kotlin.String>?
|
||||
GET_VAR 'value-parameter ss: List<String>?' type=kotlin.collections.List<kotlin.String>? operator=null
|
||||
WHEN type=kotlin.collections.List<kotlin.String> operator=null
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
|
||||
@@ -23,17 +23,17 @@ FILE /callWithReorderedArguments.kt
|
||||
a: CALL 'noReorder1(): Int' type=kotlin.Int operator=null
|
||||
b: CALL 'noReorder2(): Int' type=kotlin.Int operator=null
|
||||
BLOCK type=kotlin.Unit operator=ARGUMENTS_REORDERING_FOR_CALL
|
||||
VAR val tmp0_b: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_b: kotlin.Int
|
||||
CALL 'reordered1(): Int' type=kotlin.Int operator=null
|
||||
VAR val tmp1_a: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_a: kotlin.Int
|
||||
CALL 'reordered2(): Int' type=kotlin.Int operator=null
|
||||
CALL 'foo(Int, Int): Unit' type=kotlin.Unit operator=null
|
||||
a: GET_VAR 'tmp1_a: Int' type=kotlin.Int operator=null
|
||||
b: GET_VAR 'tmp0_b: Int' type=kotlin.Int operator=null
|
||||
BLOCK type=kotlin.Unit operator=ARGUMENTS_REORDERING_FOR_CALL
|
||||
VAR val tmp2_b: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp2_b: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
VAR val tmp3_a: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp3_a: kotlin.Int
|
||||
CALL 'reordered2(): Int' type=kotlin.Int operator=null
|
||||
CALL 'foo(Int, Int): Unit' type=kotlin.Unit operator=null
|
||||
a: GET_VAR 'tmp3_a: Int' type=kotlin.Int operator=null
|
||||
|
||||
@@ -16,13 +16,13 @@ FILE /chainOfSafeCalls.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test(C?): C?'
|
||||
BLOCK type=C? operator=SAFE_CALL
|
||||
VAR val tmp3_safe_receiver: C?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp3_safe_receiver: C?
|
||||
BLOCK type=C? operator=SAFE_CALL
|
||||
VAR val tmp2_safe_receiver: C?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp2_safe_receiver: C?
|
||||
BLOCK type=C? operator=SAFE_CALL
|
||||
VAR val tmp1_safe_receiver: C?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_safe_receiver: C?
|
||||
BLOCK type=C? operator=SAFE_CALL
|
||||
VAR val tmp0_safe_receiver: C?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_safe_receiver: C?
|
||||
GET_VAR 'value-parameter nc: C?' type=C? operator=null
|
||||
WHEN type=C? operator=SAFE_CALL
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
|
||||
@@ -5,15 +5,15 @@ FILE /complexAugmentedAssignment.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='X1'
|
||||
PROPERTY public final var x1: kotlin.Int
|
||||
FIELD public final var x1: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var x1: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public final fun <get-x1>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x1>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x1>(): Int'
|
||||
GET_BACKING_FIELD 'x1: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'X1' type=X1
|
||||
FUN public final fun <set-x1>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x1>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x1: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'X1' type=X1
|
||||
@@ -24,15 +24,15 @@ FILE /complexAugmentedAssignment.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='X2'
|
||||
PROPERTY public final var x2: kotlin.Int
|
||||
FIELD public final var x2: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var x2: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public final fun <get-x2>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x2>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x2>(): Int'
|
||||
GET_BACKING_FIELD 'x2: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'X2' type=X1.X2
|
||||
FUN public final fun <set-x2>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x2>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x2: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'X2' type=X1.X2
|
||||
@@ -43,15 +43,15 @@ FILE /complexAugmentedAssignment.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='X3'
|
||||
PROPERTY public final var x3: kotlin.Int
|
||||
FIELD public final var x3: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var x3: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public final fun <get-x3>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x3>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x3>(): Int'
|
||||
GET_BACKING_FIELD 'x3: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'X3' type=X1.X2.X3
|
||||
FUN public final fun <set-x3>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x3>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x3: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'X3' type=X1.X2.X3
|
||||
@@ -61,17 +61,17 @@ FILE /complexAugmentedAssignment.kt
|
||||
VAR var i: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp1_array: kotlin.IntArray
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_array: kotlin.IntArray
|
||||
GET_VAR 'value-parameter a: IntArray' type=kotlin.IntArray operator=null
|
||||
VAR val tmp2_index0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp2_index0: kotlin.Int
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0: kotlin.Int
|
||||
GET_VAR 'i: Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
SET_VAR 'i: Int' type=kotlin.Unit operator=POSTFIX_INCR
|
||||
CALL 'inc(): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
$this: GET_VAR 'tmp0: Int' type=kotlin.Int operator=null
|
||||
GET_VAR 'tmp0: Int' type=kotlin.Int operator=null
|
||||
VAR val tmp3: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp3: kotlin.Int
|
||||
CALL 'get(Int): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
$this: GET_VAR 'tmp1_array: IntArray' type=kotlin.IntArray operator=null
|
||||
index: GET_VAR 'tmp2_index0: Int' type=kotlin.Int operator=null
|
||||
@@ -84,10 +84,10 @@ FILE /complexAugmentedAssignment.kt
|
||||
FUN public fun test2(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp0_this: X1
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_this: X1
|
||||
GET_OBJECT 'X1' type=X1
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp1: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1: kotlin.Int
|
||||
CALL '<get-x1>(): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
$this: GET_VAR 'tmp0_this: X1' type=X1 operator=null
|
||||
CALL '<set-x1>(Int): Unit' type=kotlin.Unit operator=POSTFIX_INCR
|
||||
@@ -96,10 +96,10 @@ FILE /complexAugmentedAssignment.kt
|
||||
$this: GET_VAR 'tmp1: Int' type=kotlin.Int operator=null
|
||||
GET_VAR 'tmp1: Int' type=kotlin.Int operator=null
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp2_this: X1.X2
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp2_this: X1.X2
|
||||
GET_OBJECT 'X2' type=X1.X2
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp3: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp3: kotlin.Int
|
||||
CALL '<get-x2>(): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
$this: GET_VAR 'tmp2_this: X1.X2' type=X1.X2 operator=null
|
||||
CALL '<set-x2>(Int): Unit' type=kotlin.Unit operator=POSTFIX_INCR
|
||||
@@ -108,10 +108,10 @@ FILE /complexAugmentedAssignment.kt
|
||||
$this: GET_VAR 'tmp3: Int' type=kotlin.Int operator=null
|
||||
GET_VAR 'tmp3: Int' type=kotlin.Int operator=null
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp4_this: X1.X2.X3
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp4_this: X1.X2.X3
|
||||
GET_OBJECT 'X3' type=X1.X2.X3
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp5: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp5: kotlin.Int
|
||||
CALL '<get-x3>(): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
$this: GET_VAR 'tmp4_this: X1.X2.X3' type=X1.X2.X3 operator=null
|
||||
CALL '<set-x3>(Int): Unit' type=kotlin.Unit operator=POSTFIX_INCR
|
||||
@@ -127,15 +127,15 @@ FILE /complexAugmentedAssignment.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='B'
|
||||
PROPERTY public final var s: kotlin.Int
|
||||
FIELD public final var s: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var s: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter s: Int = ...' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-s>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-s>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-s>(): Int'
|
||||
GET_BACKING_FIELD 's: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'B' type=B
|
||||
FUN public final fun <set-s>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-s>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 's: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'B' type=B
|
||||
@@ -148,7 +148,7 @@ FILE /complexAugmentedAssignment.kt
|
||||
FUN public final operator fun B.plusAssign(b: B): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit operator=PLUSEQ
|
||||
VAR val tmp0_this: B
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_this: B
|
||||
$RECEIVER of 'plusAssign(B) on B: Unit' type=B
|
||||
CALL '<set-s>(Int): Unit' type=kotlin.Unit operator=PLUSEQ
|
||||
$this: GET_VAR 'tmp0_this: B' type=B operator=null
|
||||
|
||||
@@ -20,7 +20,7 @@ FILE /destructuring1.kt
|
||||
FUN public fun B.test(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
COMPOSITE type=kotlin.Unit operator=DESTRUCTURING_DECLARATION
|
||||
VAR val tmp0_container: A
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_container: A
|
||||
GET_OBJECT 'A' type=A
|
||||
VAR val x: kotlin.Int
|
||||
CALL 'component1() on A: Int' type=kotlin.Int operator=COMPONENT_N(index=1)
|
||||
|
||||
@@ -8,7 +8,7 @@ FILE /dotQualified.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='lengthN(String?): Int?'
|
||||
BLOCK type=kotlin.Int? operator=SAFE_CALL
|
||||
VAR val tmp0_safe_receiver: kotlin.String?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_safe_receiver: kotlin.String?
|
||||
GET_VAR 'value-parameter s: String?' type=kotlin.String? operator=null
|
||||
WHEN type=kotlin.Int? operator=SAFE_CALL
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
|
||||
+7
-7
@@ -1,9 +1,9 @@
|
||||
FILE /elvis.kt
|
||||
PROPERTY public val p: kotlin.Any? = null
|
||||
FIELD public val p: kotlin.Any? = null
|
||||
FIELD PROPERTY_BACKING_FIELD public val p: kotlin.Any? = null
|
||||
EXPRESSION_BODY
|
||||
CONST Null type=kotlin.Nothing? value='null'
|
||||
FUN public fun <get-p>(): kotlin.Any?
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-p>(): kotlin.Any?
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-p>(): Any?'
|
||||
GET_BACKING_FIELD 'p: Any?' type=kotlin.Any? operator=null
|
||||
@@ -15,7 +15,7 @@ FILE /elvis.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test1(Any?, Any): Any'
|
||||
BLOCK type=kotlin.Any operator=ELVIS
|
||||
VAR val tmp0_elvis_lhs: kotlin.Any?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_elvis_lhs: kotlin.Any?
|
||||
GET_VAR 'value-parameter a: Any?' type=kotlin.Any? operator=null
|
||||
WHEN type=kotlin.Any operator=null
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -27,7 +27,7 @@ FILE /elvis.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test2(String?, Any): Any'
|
||||
BLOCK type=kotlin.Any operator=ELVIS
|
||||
VAR val tmp0_elvis_lhs: kotlin.String?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_elvis_lhs: kotlin.String?
|
||||
GET_VAR 'value-parameter a: String?' type=kotlin.String? operator=null
|
||||
WHEN type=kotlin.Any operator=null
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -49,7 +49,7 @@ FILE /elvis.kt
|
||||
CONST String type=kotlin.String value=''
|
||||
RETURN type=kotlin.Nothing from='test3(Any?, Any?): String'
|
||||
BLOCK type=kotlin.String operator=ELVIS
|
||||
VAR val tmp0_elvis_lhs: kotlin.Any?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_elvis_lhs: kotlin.Any?
|
||||
GET_VAR 'value-parameter a: Any?' type=kotlin.Any? operator=null
|
||||
WHEN type=kotlin.String operator=null
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -63,7 +63,7 @@ FILE /elvis.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test4(Any): Any'
|
||||
BLOCK type=kotlin.Any operator=ELVIS
|
||||
VAR val tmp0_elvis_lhs: kotlin.Any?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_elvis_lhs: kotlin.Any?
|
||||
CALL '<get-p>(): Any?' type=kotlin.Any? operator=GET_PROPERTY
|
||||
WHEN type=kotlin.Any operator=null
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -75,7 +75,7 @@ FILE /elvis.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test5(Any): Any'
|
||||
BLOCK type=kotlin.Any operator=ELVIS
|
||||
VAR val tmp0_elvis_lhs: kotlin.Any?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_elvis_lhs: kotlin.Any?
|
||||
CALL 'foo(): Any?' type=kotlin.Any? operator=null
|
||||
WHEN type=kotlin.Any operator=null
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
|
||||
+4
-4
@@ -1,9 +1,9 @@
|
||||
FILE /field.kt
|
||||
PROPERTY public var testSimple: kotlin.Int
|
||||
FIELD public var testSimple: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public var testSimple: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public fun <get-testSimple>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-testSimple>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-testSimple>(): Int'
|
||||
GET_BACKING_FIELD 'testSimple: Int' type=kotlin.Int operator=null
|
||||
@@ -12,10 +12,10 @@ FILE /field.kt
|
||||
SET_BACKING_FIELD 'testSimple: Int' type=kotlin.Unit operator=EQ
|
||||
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int operator=null
|
||||
PROPERTY public var testAugmented: kotlin.Int
|
||||
FIELD public var testAugmented: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public var testAugmented: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public fun <get-testAugmented>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-testAugmented>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-testAugmented>(): Int'
|
||||
GET_BACKING_FIELD 'testAugmented: Int' type=kotlin.Int operator=null
|
||||
|
||||
+4
-4
@@ -2,7 +2,7 @@ FILE /for.kt
|
||||
FUN public fun testEmpty(ss: kotlin.collections.List<kotlin.String>): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit operator=FOR_LOOP
|
||||
VAR val tmp0_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
CALL 'iterator(): Iterator<String>' type=kotlin.collections.Iterator<kotlin.String> operator=FOR_LOOP_ITERATOR
|
||||
$this: GET_VAR 'value-parameter ss: List<String>' type=kotlin.collections.List<kotlin.String> operator=null
|
||||
WHILE label=null operator=FOR_LOOP_INNER_WHILE
|
||||
@@ -15,7 +15,7 @@ FILE /for.kt
|
||||
FUN public fun testIterable(ss: kotlin.collections.List<kotlin.String>): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit operator=FOR_LOOP
|
||||
VAR val tmp0_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
CALL 'iterator(): Iterator<String>' type=kotlin.collections.Iterator<kotlin.String> operator=FOR_LOOP_ITERATOR
|
||||
$this: GET_VAR 'value-parameter ss: List<String>' type=kotlin.collections.List<kotlin.String> operator=null
|
||||
WHILE label=null operator=FOR_LOOP_INNER_WHILE
|
||||
@@ -31,14 +31,14 @@ FILE /for.kt
|
||||
FUN public fun testDestructuring(pp: kotlin.collections.List<kotlin.Pair<kotlin.Int, kotlin.String>>): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit operator=FOR_LOOP
|
||||
VAR val tmp0_iterator: kotlin.collections.Iterator<kotlin.Pair<kotlin.Int, kotlin.String>>
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_iterator: kotlin.collections.Iterator<kotlin.Pair<kotlin.Int, kotlin.String>>
|
||||
CALL 'iterator(): Iterator<Pair<Int, String>>' type=kotlin.collections.Iterator<kotlin.Pair<kotlin.Int, kotlin.String>> operator=FOR_LOOP_ITERATOR
|
||||
$this: GET_VAR 'value-parameter pp: List<Pair<Int, String>>' type=kotlin.collections.List<kotlin.Pair<kotlin.Int, kotlin.String>> operator=null
|
||||
WHILE label=null operator=FOR_LOOP_INNER_WHILE
|
||||
condition: CALL 'hasNext(): Boolean' type=kotlin.Boolean operator=FOR_LOOP_HAS_NEXT
|
||||
$this: GET_VAR 'tmp0_iterator: Iterator<Pair<Int, String>>' type=kotlin.collections.Iterator<kotlin.Pair<kotlin.Int, kotlin.String>> operator=null
|
||||
body: BLOCK type=kotlin.Unit operator=FOR_LOOP_INNER_WHILE
|
||||
VAR val tmp1_loop_parameter: kotlin.Pair<kotlin.Int, kotlin.String>
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_loop_parameter: kotlin.Pair<kotlin.Int, kotlin.String>
|
||||
CALL 'next(): Pair<Int, String>' type=kotlin.Pair<kotlin.Int, kotlin.String> operator=FOR_LOOP_NEXT
|
||||
$this: GET_VAR 'tmp0_iterator: Iterator<Pair<Int, String>>' type=kotlin.collections.Iterator<kotlin.Pair<kotlin.Int, kotlin.String>> operator=null
|
||||
VAR val i: kotlin.Int
|
||||
|
||||
@@ -2,7 +2,7 @@ FILE /forWithBreakContinue.kt
|
||||
FUN public fun testForBreak1(ss: kotlin.collections.List<kotlin.String>): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit operator=FOR_LOOP
|
||||
VAR val tmp0_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
CALL 'iterator(): Iterator<String>' type=kotlin.collections.Iterator<kotlin.String> operator=FOR_LOOP_ITERATOR
|
||||
$this: GET_VAR 'value-parameter ss: List<String>' type=kotlin.collections.List<kotlin.String> operator=null
|
||||
WHILE label=null operator=FOR_LOOP_INNER_WHILE
|
||||
@@ -17,7 +17,7 @@ FILE /forWithBreakContinue.kt
|
||||
FUN public fun testForBreak2(ss: kotlin.collections.List<kotlin.String>): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit operator=FOR_LOOP
|
||||
VAR val tmp0_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
CALL 'iterator(): Iterator<String>' type=kotlin.collections.Iterator<kotlin.String> operator=FOR_LOOP_ITERATOR
|
||||
$this: GET_VAR 'value-parameter ss: List<String>' type=kotlin.collections.List<kotlin.String> operator=null
|
||||
WHILE label=OUTER operator=FOR_LOOP_INNER_WHILE
|
||||
@@ -29,7 +29,7 @@ FILE /forWithBreakContinue.kt
|
||||
$this: GET_VAR 'tmp0_iterator: Iterator<String>' type=kotlin.collections.Iterator<kotlin.String> operator=null
|
||||
BLOCK type=kotlin.Nothing operator=null
|
||||
BLOCK type=kotlin.Unit operator=FOR_LOOP
|
||||
VAR val tmp1_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
CALL 'iterator(): Iterator<String>' type=kotlin.collections.Iterator<kotlin.String> operator=FOR_LOOP_ITERATOR
|
||||
$this: GET_VAR 'value-parameter ss: List<String>' type=kotlin.collections.List<kotlin.String> operator=null
|
||||
WHILE label=INNER operator=FOR_LOOP_INNER_WHILE
|
||||
@@ -47,7 +47,7 @@ FILE /forWithBreakContinue.kt
|
||||
FUN public fun testForContinue1(ss: kotlin.collections.List<kotlin.String>): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit operator=FOR_LOOP
|
||||
VAR val tmp0_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
CALL 'iterator(): Iterator<String>' type=kotlin.collections.Iterator<kotlin.String> operator=FOR_LOOP_ITERATOR
|
||||
$this: GET_VAR 'value-parameter ss: List<String>' type=kotlin.collections.List<kotlin.String> operator=null
|
||||
WHILE label=null operator=FOR_LOOP_INNER_WHILE
|
||||
@@ -62,7 +62,7 @@ FILE /forWithBreakContinue.kt
|
||||
FUN public fun testForContinue2(ss: kotlin.collections.List<kotlin.String>): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit operator=FOR_LOOP
|
||||
VAR val tmp0_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
CALL 'iterator(): Iterator<String>' type=kotlin.collections.Iterator<kotlin.String> operator=FOR_LOOP_ITERATOR
|
||||
$this: GET_VAR 'value-parameter ss: List<String>' type=kotlin.collections.List<kotlin.String> operator=null
|
||||
WHILE label=OUTER operator=FOR_LOOP_INNER_WHILE
|
||||
@@ -74,7 +74,7 @@ FILE /forWithBreakContinue.kt
|
||||
$this: GET_VAR 'tmp0_iterator: Iterator<String>' type=kotlin.collections.Iterator<kotlin.String> operator=null
|
||||
BLOCK type=kotlin.Nothing operator=null
|
||||
BLOCK type=kotlin.Unit operator=FOR_LOOP
|
||||
VAR val tmp1_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_iterator: kotlin.collections.Iterator<kotlin.String>
|
||||
CALL 'iterator(): Iterator<String>' type=kotlin.collections.Iterator<kotlin.String> operator=FOR_LOOP_ITERATOR
|
||||
$this: GET_VAR 'value-parameter ss: List<String>' type=kotlin.collections.List<kotlin.String> operator=null
|
||||
WHILE label=INNER operator=FOR_LOOP_INNER_WHILE
|
||||
|
||||
@@ -10,15 +10,15 @@ FILE /forWithImplicitReceivers.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='IntCell'
|
||||
PROPERTY public final var value: kotlin.Int
|
||||
FIELD public final var value: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var value: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter value: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-value>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-value>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value>(): Int'
|
||||
GET_BACKING_FIELD 'value: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'IntCell' type=IntCell
|
||||
FUN public final fun <set-value>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-value>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'value: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'IntCell' type=IntCell
|
||||
@@ -41,10 +41,10 @@ FILE /forWithImplicitReceivers.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='next() on IntCell: Int'
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_DECR
|
||||
VAR val tmp0_this: IntCell
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_this: IntCell
|
||||
$RECEIVER of 'next() on IntCell: Int' type=IntCell
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_DECR
|
||||
VAR val tmp1: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1: kotlin.Int
|
||||
CALL '<get-value>(): Int' type=kotlin.Int operator=POSTFIX_DECR
|
||||
$this: GET_VAR 'tmp0_this: IntCell' type=IntCell operator=null
|
||||
CALL '<set-value>(Int): Unit' type=kotlin.Unit operator=POSTFIX_DECR
|
||||
@@ -55,7 +55,7 @@ FILE /forWithImplicitReceivers.kt
|
||||
FUN public fun IReceiver.test(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit operator=FOR_LOOP
|
||||
VAR val tmp0_iterator: IntCell
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_iterator: IntCell
|
||||
CALL 'iterator() on FiveTimes: IntCell' type=IntCell operator=FOR_LOOP_ITERATOR
|
||||
$this: $RECEIVER of 'test() on IReceiver: Unit' type=IReceiver
|
||||
$receiver: GET_OBJECT 'FiveTimes' type=FiveTimes
|
||||
|
||||
+25
-25
@@ -1,25 +1,25 @@
|
||||
FILE /incrementDecrement.kt
|
||||
PROPERTY public var p: kotlin.Int
|
||||
FIELD public var p: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public var p: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public fun <get-p>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-p>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-p>(): Int'
|
||||
GET_BACKING_FIELD 'p: Int' type=kotlin.Int operator=null
|
||||
FUN public fun <set-p>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <set-p>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'p: Int' type=kotlin.Unit operator=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
PROPERTY public val arr: kotlin.IntArray
|
||||
FIELD public val arr: kotlin.IntArray
|
||||
FIELD PROPERTY_BACKING_FIELD public val arr: kotlin.IntArray
|
||||
EXPRESSION_BODY
|
||||
CALL 'intArrayOf(vararg Int): IntArray' type=kotlin.IntArray operator=null
|
||||
elements: VARARG type=IntArray varargElementType=Int
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
CONST Int type=kotlin.Int value='2'
|
||||
CONST Int type=kotlin.Int value='3'
|
||||
FUN public fun <get-arr>(): kotlin.IntArray
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-arr>(): kotlin.IntArray
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-arr>(): IntArray'
|
||||
GET_BACKING_FIELD 'arr: IntArray' type=kotlin.IntArray operator=null
|
||||
@@ -29,7 +29,7 @@ FILE /incrementDecrement.kt
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
VAR val x1: kotlin.Int
|
||||
BLOCK type=kotlin.Int operator=PREFIX_INCR
|
||||
VAR val tmp0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0: kotlin.Int
|
||||
CALL 'inc(): Int' type=kotlin.Int operator=PREFIX_INCR
|
||||
$this: GET_VAR 'x: Int' type=kotlin.Int operator=PREFIX_INCR
|
||||
SET_VAR 'x: Int' type=kotlin.Unit operator=PREFIX_INCR
|
||||
@@ -37,7 +37,7 @@ FILE /incrementDecrement.kt
|
||||
GET_VAR 'tmp0: Int' type=kotlin.Int operator=null
|
||||
VAR val x2: kotlin.Int
|
||||
BLOCK type=kotlin.Int operator=PREFIX_DECR
|
||||
VAR val tmp1: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1: kotlin.Int
|
||||
CALL 'dec(): Int' type=kotlin.Int operator=PREFIX_DECR
|
||||
$this: GET_VAR 'x: Int' type=kotlin.Int operator=PREFIX_DECR
|
||||
SET_VAR 'x: Int' type=kotlin.Unit operator=PREFIX_DECR
|
||||
@@ -49,7 +49,7 @@ FILE /incrementDecrement.kt
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
VAR val x1: kotlin.Int
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0: kotlin.Int
|
||||
GET_VAR 'x: Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
SET_VAR 'x: Int' type=kotlin.Unit operator=POSTFIX_INCR
|
||||
CALL 'inc(): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
@@ -57,7 +57,7 @@ FILE /incrementDecrement.kt
|
||||
GET_VAR 'tmp0: Int' type=kotlin.Int operator=null
|
||||
VAR val x2: kotlin.Int
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_DECR
|
||||
VAR val tmp1: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1: kotlin.Int
|
||||
GET_VAR 'x: Int' type=kotlin.Int operator=POSTFIX_DECR
|
||||
SET_VAR 'x: Int' type=kotlin.Unit operator=POSTFIX_DECR
|
||||
CALL 'dec(): Int' type=kotlin.Int operator=POSTFIX_DECR
|
||||
@@ -68,7 +68,7 @@ FILE /incrementDecrement.kt
|
||||
VAR val p1: kotlin.Int
|
||||
BLOCK type=kotlin.Int operator=PREFIX_INCR
|
||||
BLOCK type=kotlin.Int operator=PREFIX_INCR
|
||||
VAR val tmp0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0: kotlin.Int
|
||||
CALL 'inc(): Int' type=kotlin.Int operator=PREFIX_INCR
|
||||
$this: CALL '<get-p>(): Int' type=kotlin.Int operator=PREFIX_INCR
|
||||
CALL '<set-p>(Int): Unit' type=kotlin.Unit operator=PREFIX_INCR
|
||||
@@ -77,7 +77,7 @@ FILE /incrementDecrement.kt
|
||||
VAR val p2: kotlin.Int
|
||||
BLOCK type=kotlin.Int operator=PREFIX_DECR
|
||||
BLOCK type=kotlin.Int operator=PREFIX_DECR
|
||||
VAR val tmp1: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1: kotlin.Int
|
||||
CALL 'dec(): Int' type=kotlin.Int operator=PREFIX_DECR
|
||||
$this: CALL '<get-p>(): Int' type=kotlin.Int operator=PREFIX_DECR
|
||||
CALL '<set-p>(Int): Unit' type=kotlin.Unit operator=PREFIX_DECR
|
||||
@@ -88,7 +88,7 @@ FILE /incrementDecrement.kt
|
||||
VAR val p1: kotlin.Int
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0: kotlin.Int
|
||||
CALL '<get-p>(): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
CALL '<set-p>(Int): Unit' type=kotlin.Unit operator=POSTFIX_INCR
|
||||
<set-?>: CALL 'inc(): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
@@ -97,7 +97,7 @@ FILE /incrementDecrement.kt
|
||||
VAR val p2: kotlin.Int
|
||||
BLOCK type=kotlin.Int operator=PREFIX_DECR
|
||||
BLOCK type=kotlin.Int operator=PREFIX_DECR
|
||||
VAR val tmp1: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1: kotlin.Int
|
||||
CALL 'dec(): Int' type=kotlin.Int operator=PREFIX_DECR
|
||||
$this: CALL '<get-p>(): Int' type=kotlin.Int operator=PREFIX_DECR
|
||||
CALL '<set-p>(Int): Unit' type=kotlin.Unit operator=PREFIX_DECR
|
||||
@@ -107,11 +107,11 @@ FILE /incrementDecrement.kt
|
||||
BLOCK_BODY
|
||||
VAR val a1: kotlin.Int
|
||||
BLOCK type=kotlin.Int operator=PREFIX_INCR
|
||||
VAR val tmp0_array: kotlin.IntArray
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_array: kotlin.IntArray
|
||||
CALL '<get-arr>(): IntArray' type=kotlin.IntArray operator=GET_PROPERTY
|
||||
VAR val tmp1_index0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_index0: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
VAR val tmp2: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp2: kotlin.Int
|
||||
CALL 'inc(): Int' type=kotlin.Int operator=PREFIX_INCR
|
||||
$this: CALL 'get(Int): Int' type=kotlin.Int operator=PREFIX_INCR
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray operator=null
|
||||
@@ -123,11 +123,11 @@ FILE /incrementDecrement.kt
|
||||
GET_VAR 'tmp2: Int' type=kotlin.Int operator=null
|
||||
VAR val a2: kotlin.Int
|
||||
BLOCK type=kotlin.Int operator=PREFIX_DECR
|
||||
VAR val tmp3_array: kotlin.IntArray
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp3_array: kotlin.IntArray
|
||||
CALL '<get-arr>(): IntArray' type=kotlin.IntArray operator=GET_PROPERTY
|
||||
VAR val tmp4_index0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp4_index0: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
VAR val tmp5: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp5: kotlin.Int
|
||||
CALL 'dec(): Int' type=kotlin.Int operator=PREFIX_DECR
|
||||
$this: CALL 'get(Int): Int' type=kotlin.Int operator=PREFIX_DECR
|
||||
$this: GET_VAR 'tmp3_array: IntArray' type=kotlin.IntArray operator=null
|
||||
@@ -141,11 +141,11 @@ FILE /incrementDecrement.kt
|
||||
BLOCK_BODY
|
||||
VAR val a1: kotlin.Int
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp0_array: kotlin.IntArray
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_array: kotlin.IntArray
|
||||
CALL '<get-arr>(): IntArray' type=kotlin.IntArray operator=GET_PROPERTY
|
||||
VAR val tmp1_index0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_index0: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
VAR val tmp2: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp2: kotlin.Int
|
||||
CALL 'get(Int): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray operator=null
|
||||
index: GET_VAR 'tmp1_index0: Int' type=kotlin.Int operator=null
|
||||
@@ -157,11 +157,11 @@ FILE /incrementDecrement.kt
|
||||
GET_VAR 'tmp2: Int' type=kotlin.Int operator=null
|
||||
VAR val a2: kotlin.Int
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_DECR
|
||||
VAR val tmp3_array: kotlin.IntArray
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp3_array: kotlin.IntArray
|
||||
CALL '<get-arr>(): IntArray' type=kotlin.IntArray operator=GET_PROPERTY
|
||||
VAR val tmp4_index0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp4_index0: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
VAR val tmp5: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp5: kotlin.Int
|
||||
CALL 'get(Int): Int' type=kotlin.Int operator=POSTFIX_DECR
|
||||
$this: GET_VAR 'tmp3_array: IntArray' type=kotlin.IntArray operator=null
|
||||
index: GET_VAR 'tmp4_index0: Int' type=kotlin.Int operator=null
|
||||
|
||||
@@ -26,7 +26,7 @@ FILE /jvmStaticFieldReference.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestClass'
|
||||
PROPERTY public final val test: kotlin.Int
|
||||
FIELD public final val test: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val test: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
WHEN type=kotlin.Int operator=WHEN
|
||||
else: BLOCK type=kotlin.Int operator=null
|
||||
@@ -35,7 +35,7 @@ FILE /jvmStaticFieldReference.kt
|
||||
GET_BACKING_FIELD 'out: PrintStream!' type=java.io.PrintStream! operator=GET_PROPERTY
|
||||
p0: CONST String type=kotlin.String value='TestClass/test'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
FUN public final fun <get-test>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-test>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test>(): Int'
|
||||
GET_BACKING_FIELD 'test: Int' type=kotlin.Int operator=null
|
||||
|
||||
+34
-34
@@ -1,137 +1,137 @@
|
||||
FILE /literals.kt
|
||||
PROPERTY public val test1: kotlin.Int = 1
|
||||
FIELD public val test1: kotlin.Int = 1
|
||||
FIELD PROPERTY_BACKING_FIELD public val test1: kotlin.Int = 1
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
FUN public fun <get-test1>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): Int'
|
||||
GET_BACKING_FIELD 'test1: Int' type=kotlin.Int operator=null
|
||||
PROPERTY public val test2: kotlin.Int = -1
|
||||
FIELD public val test2: kotlin.Int = -1
|
||||
FIELD PROPERTY_BACKING_FIELD public val test2: kotlin.Int = -1
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='-1'
|
||||
FUN public fun <get-test2>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test2>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): Int'
|
||||
GET_BACKING_FIELD 'test2: Int' type=kotlin.Int operator=null
|
||||
PROPERTY public val test3: kotlin.Boolean = true
|
||||
FIELD public val test3: kotlin.Boolean = true
|
||||
FIELD PROPERTY_BACKING_FIELD public val test3: kotlin.Boolean = true
|
||||
EXPRESSION_BODY
|
||||
CONST Boolean type=kotlin.Boolean value='true'
|
||||
FUN public fun <get-test3>(): kotlin.Boolean
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test3>(): kotlin.Boolean
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test3>(): Boolean'
|
||||
GET_BACKING_FIELD 'test3: Boolean' type=kotlin.Boolean operator=null
|
||||
PROPERTY public val test4: kotlin.Boolean = false
|
||||
FIELD public val test4: kotlin.Boolean = false
|
||||
FIELD PROPERTY_BACKING_FIELD public val test4: kotlin.Boolean = false
|
||||
EXPRESSION_BODY
|
||||
CONST Boolean type=kotlin.Boolean value='false'
|
||||
FUN public fun <get-test4>(): kotlin.Boolean
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test4>(): kotlin.Boolean
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test4>(): Boolean'
|
||||
GET_BACKING_FIELD 'test4: Boolean' type=kotlin.Boolean operator=null
|
||||
PROPERTY public val test5: kotlin.String = "abc"
|
||||
FIELD public val test5: kotlin.String = "abc"
|
||||
FIELD PROPERTY_BACKING_FIELD public val test5: kotlin.String = "abc"
|
||||
EXPRESSION_BODY
|
||||
CONST String type=kotlin.String value='abc'
|
||||
FUN public fun <get-test5>(): kotlin.String
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test5>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test5>(): String'
|
||||
GET_BACKING_FIELD 'test5: String' type=kotlin.String operator=null
|
||||
PROPERTY public val test6: kotlin.Nothing? = null
|
||||
FIELD public val test6: kotlin.Nothing? = null
|
||||
FIELD PROPERTY_BACKING_FIELD public val test6: kotlin.Nothing? = null
|
||||
EXPRESSION_BODY
|
||||
CONST Null type=kotlin.Nothing? value='null'
|
||||
FUN public fun <get-test6>(): kotlin.Nothing?
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test6>(): kotlin.Nothing?
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test6>(): Nothing?'
|
||||
GET_BACKING_FIELD 'test6: Nothing?' type=kotlin.Nothing? operator=null
|
||||
PROPERTY public val test7: kotlin.Long = 1.toLong()
|
||||
FIELD public val test7: kotlin.Long = 1.toLong()
|
||||
FIELD PROPERTY_BACKING_FIELD public val test7: kotlin.Long = 1.toLong()
|
||||
EXPRESSION_BODY
|
||||
CONST Long type=kotlin.Long value='1'
|
||||
FUN public fun <get-test7>(): kotlin.Long
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test7>(): kotlin.Long
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test7>(): Long'
|
||||
GET_BACKING_FIELD 'test7: Long' type=kotlin.Long operator=null
|
||||
PROPERTY public val test8: kotlin.Long = -1.toLong()
|
||||
FIELD public val test8: kotlin.Long = -1.toLong()
|
||||
FIELD PROPERTY_BACKING_FIELD public val test8: kotlin.Long = -1.toLong()
|
||||
EXPRESSION_BODY
|
||||
CONST Long type=kotlin.Long value='-1'
|
||||
FUN public fun <get-test8>(): kotlin.Long
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test8>(): kotlin.Long
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test8>(): Long'
|
||||
GET_BACKING_FIELD 'test8: Long' type=kotlin.Long operator=null
|
||||
PROPERTY public val test9: kotlin.Double = 1.0.toDouble()
|
||||
FIELD public val test9: kotlin.Double = 1.0.toDouble()
|
||||
FIELD PROPERTY_BACKING_FIELD public val test9: kotlin.Double = 1.0.toDouble()
|
||||
EXPRESSION_BODY
|
||||
CONST Double type=kotlin.Double value='1.0'
|
||||
FUN public fun <get-test9>(): kotlin.Double
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test9>(): kotlin.Double
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test9>(): Double'
|
||||
GET_BACKING_FIELD 'test9: Double' type=kotlin.Double operator=null
|
||||
PROPERTY public val test10: kotlin.Double = -1.0.toDouble()
|
||||
FIELD public val test10: kotlin.Double = -1.0.toDouble()
|
||||
FIELD PROPERTY_BACKING_FIELD public val test10: kotlin.Double = -1.0.toDouble()
|
||||
EXPRESSION_BODY
|
||||
CONST Double type=kotlin.Double value='-1.0'
|
||||
FUN public fun <get-test10>(): kotlin.Double
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test10>(): kotlin.Double
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test10>(): Double'
|
||||
GET_BACKING_FIELD 'test10: Double' type=kotlin.Double operator=null
|
||||
PROPERTY public val test11: kotlin.Float = 1.0.toFloat()
|
||||
FIELD public val test11: kotlin.Float = 1.0.toFloat()
|
||||
FIELD PROPERTY_BACKING_FIELD public val test11: kotlin.Float = 1.0.toFloat()
|
||||
EXPRESSION_BODY
|
||||
CONST Float type=kotlin.Float value='1.0'
|
||||
FUN public fun <get-test11>(): kotlin.Float
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test11>(): kotlin.Float
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test11>(): Float'
|
||||
GET_BACKING_FIELD 'test11: Float' type=kotlin.Float operator=null
|
||||
PROPERTY public val test12: kotlin.Float = -1.0.toFloat()
|
||||
FIELD public val test12: kotlin.Float = -1.0.toFloat()
|
||||
FIELD PROPERTY_BACKING_FIELD public val test12: kotlin.Float = -1.0.toFloat()
|
||||
EXPRESSION_BODY
|
||||
CONST Float type=kotlin.Float value='-1.0'
|
||||
FUN public fun <get-test12>(): kotlin.Float
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test12>(): kotlin.Float
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test12>(): Float'
|
||||
GET_BACKING_FIELD 'test12: Float' type=kotlin.Float operator=null
|
||||
PROPERTY public val test13: kotlin.Char = \u0061 ('a')
|
||||
FIELD public val test13: kotlin.Char = \u0061 ('a')
|
||||
FIELD PROPERTY_BACKING_FIELD public val test13: kotlin.Char = \u0061 ('a')
|
||||
EXPRESSION_BODY
|
||||
CONST Char type=kotlin.Char value='a'
|
||||
FUN public fun <get-test13>(): kotlin.Char
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test13>(): kotlin.Char
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test13>(): Char'
|
||||
GET_BACKING_FIELD 'test13: Char' type=kotlin.Char operator=null
|
||||
PROPERTY public val testB: kotlin.Byte = 1.toByte()
|
||||
FIELD public val testB: kotlin.Byte = 1.toByte()
|
||||
FIELD PROPERTY_BACKING_FIELD public val testB: kotlin.Byte = 1.toByte()
|
||||
EXPRESSION_BODY
|
||||
CONST Byte type=kotlin.Byte value='1'
|
||||
FUN public fun <get-testB>(): kotlin.Byte
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-testB>(): kotlin.Byte
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-testB>(): Byte'
|
||||
GET_BACKING_FIELD 'testB: Byte' type=kotlin.Byte operator=null
|
||||
PROPERTY public val testS: kotlin.Short = 1.toShort()
|
||||
FIELD public val testS: kotlin.Short = 1.toShort()
|
||||
FIELD PROPERTY_BACKING_FIELD public val testS: kotlin.Short = 1.toShort()
|
||||
EXPRESSION_BODY
|
||||
CONST Short type=kotlin.Short value='1'
|
||||
FUN public fun <get-testS>(): kotlin.Short
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-testS>(): kotlin.Short
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-testS>(): Short'
|
||||
GET_BACKING_FIELD 'testS: Short' type=kotlin.Short operator=null
|
||||
PROPERTY public val testI: kotlin.Int = 1
|
||||
FIELD public val testI: kotlin.Int = 1
|
||||
FIELD PROPERTY_BACKING_FIELD public val testI: kotlin.Int = 1
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
FUN public fun <get-testI>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-testI>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-testI>(): Int'
|
||||
GET_BACKING_FIELD 'testI: Int' type=kotlin.Int operator=null
|
||||
PROPERTY public val testL: kotlin.Long = 1.toLong()
|
||||
FIELD public val testL: kotlin.Long = 1.toLong()
|
||||
FIELD PROPERTY_BACKING_FIELD public val testL: kotlin.Long = 1.toLong()
|
||||
EXPRESSION_BODY
|
||||
CONST Long type=kotlin.Long value='1'
|
||||
FUN public fun <get-testL>(): kotlin.Long
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-testL>(): kotlin.Long
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-testL>(): Long'
|
||||
GET_BACKING_FIELD 'testL: Long' type=kotlin.Long operator=null
|
||||
|
||||
+4
-4
@@ -1,17 +1,17 @@
|
||||
FILE /references.kt
|
||||
PROPERTY public val ok: kotlin.String = "OK"
|
||||
FIELD public val ok: kotlin.String = "OK"
|
||||
FIELD PROPERTY_BACKING_FIELD public val ok: kotlin.String = "OK"
|
||||
EXPRESSION_BODY
|
||||
CONST String type=kotlin.String value='OK'
|
||||
FUN public fun <get-ok>(): kotlin.String
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-ok>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-ok>(): String'
|
||||
GET_BACKING_FIELD 'ok: String' type=kotlin.String operator=null
|
||||
PROPERTY public val ok2: kotlin.String = "OK"
|
||||
FIELD public val ok2: kotlin.String = "OK"
|
||||
FIELD PROPERTY_BACKING_FIELD public val ok2: kotlin.String = "OK"
|
||||
EXPRESSION_BODY
|
||||
CALL '<get-ok>(): String' type=kotlin.String operator=GET_PROPERTY
|
||||
FUN public fun <get-ok2>(): kotlin.String
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-ok2>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-ok2>(): String'
|
||||
GET_BACKING_FIELD 'ok2: String' type=kotlin.String operator=null
|
||||
|
||||
+16
-16
@@ -9,68 +9,68 @@ FILE /reflectionLiterals.kt
|
||||
FUN public fun bar(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
PROPERTY public val qux: kotlin.Int = 42
|
||||
FIELD public val qux: kotlin.Int = 42
|
||||
FIELD PROPERTY_BACKING_FIELD public val qux: kotlin.Int = 42
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
FUN public fun <get-qux>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-qux>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-qux>(): Int'
|
||||
GET_BACKING_FIELD 'qux: Int' type=kotlin.Int operator=null
|
||||
PROPERTY public val test1: kotlin.reflect.KClass<A>
|
||||
FIELD public val test1: kotlin.reflect.KClass<A>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test1: kotlin.reflect.KClass<A>
|
||||
EXPRESSION_BODY
|
||||
CLASS_REFERENCE 'A' type=kotlin.reflect.KClass<A>
|
||||
FUN public fun <get-test1>(): kotlin.reflect.KClass<A>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): kotlin.reflect.KClass<A>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): KClass<A>'
|
||||
GET_BACKING_FIELD 'test1: KClass<A>' type=kotlin.reflect.KClass<A> operator=null
|
||||
PROPERTY public val test2: kotlin.reflect.KClass<kotlin.Int>
|
||||
FIELD public val test2: kotlin.reflect.KClass<kotlin.Int>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test2: kotlin.reflect.KClass<kotlin.Int>
|
||||
EXPRESSION_BODY
|
||||
GET_CLASS type=kotlin.reflect.KClass<kotlin.Int>
|
||||
CALL '<get-qux>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
FUN public fun <get-test2>(): kotlin.reflect.KClass<kotlin.Int>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test2>(): kotlin.reflect.KClass<kotlin.Int>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): KClass<Int>'
|
||||
GET_BACKING_FIELD 'test2: KClass<Int>' type=kotlin.reflect.KClass<kotlin.Int> operator=null
|
||||
PROPERTY public val test3: kotlin.reflect.KFunction1<A, kotlin.Unit>
|
||||
FIELD public val test3: kotlin.reflect.KFunction1<A, kotlin.Unit>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test3: kotlin.reflect.KFunction1<A, kotlin.Unit>
|
||||
EXPRESSION_BODY
|
||||
CALLABLE_REFERENCE 'foo(): Unit' type=kotlin.reflect.KFunction1<A, kotlin.Unit> operator=null
|
||||
FUN public fun <get-test3>(): kotlin.reflect.KFunction1<A, kotlin.Unit>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test3>(): kotlin.reflect.KFunction1<A, kotlin.Unit>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test3>(): KFunction1<A, Unit>'
|
||||
GET_BACKING_FIELD 'test3: KFunction1<A, Unit>' type=kotlin.reflect.KFunction1<A, kotlin.Unit> operator=null
|
||||
PROPERTY public val test4: kotlin.reflect.KFunction0<A>
|
||||
FIELD public val test4: kotlin.reflect.KFunction0<A>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test4: kotlin.reflect.KFunction0<A>
|
||||
EXPRESSION_BODY
|
||||
CALLABLE_REFERENCE 'constructor A()' type=kotlin.reflect.KFunction0<A> operator=null
|
||||
FUN public fun <get-test4>(): kotlin.reflect.KFunction0<A>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test4>(): kotlin.reflect.KFunction0<A>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test4>(): KFunction0<A>'
|
||||
GET_BACKING_FIELD 'test4: KFunction0<A>' type=kotlin.reflect.KFunction0<A> operator=null
|
||||
PROPERTY public val test5: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
FIELD public val test5: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test5: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
EXPRESSION_BODY
|
||||
CALLABLE_REFERENCE 'foo(): Unit' type=kotlin.reflect.KFunction0<kotlin.Unit> operator=null
|
||||
$this: CALL 'constructor A()' type=A operator=null
|
||||
FUN public fun <get-test5>(): kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test5>(): kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test5>(): KFunction0<Unit>'
|
||||
GET_BACKING_FIELD 'test5: KFunction0<Unit>' type=kotlin.reflect.KFunction0<kotlin.Unit> operator=null
|
||||
PROPERTY public val test6: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
FIELD public val test6: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test6: kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
EXPRESSION_BODY
|
||||
CALLABLE_REFERENCE 'bar(): Unit' type=kotlin.reflect.KFunction0<kotlin.Unit> operator=null
|
||||
FUN public fun <get-test6>(): kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test6>(): kotlin.reflect.KFunction0<kotlin.Unit>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test6>(): KFunction0<Unit>'
|
||||
GET_BACKING_FIELD 'test6: KFunction0<Unit>' type=kotlin.reflect.KFunction0<kotlin.Unit> operator=null
|
||||
PROPERTY public val test7: kotlin.reflect.KProperty0<kotlin.Int>
|
||||
FIELD public val test7: kotlin.reflect.KProperty0<kotlin.Int>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test7: kotlin.reflect.KProperty0<kotlin.Int>
|
||||
EXPRESSION_BODY
|
||||
CALLABLE_REFERENCE 'qux: Int' type=kotlin.reflect.KProperty0<kotlin.Int> operator=null
|
||||
FUN public fun <get-test7>(): kotlin.reflect.KProperty0<kotlin.Int>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test7>(): kotlin.reflect.KProperty0<kotlin.Int>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test7>(): KProperty0<Int>'
|
||||
GET_BACKING_FIELD 'test7: KProperty0<Int>' type=kotlin.reflect.KProperty0<kotlin.Int> operator=null
|
||||
|
||||
@@ -15,7 +15,7 @@ FILE /safeCallWithIncrementDecrement.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='inc() on Int?: Int?'
|
||||
BLOCK type=kotlin.Int? operator=SAFE_CALL
|
||||
VAR val tmp0_safe_receiver: kotlin.Int?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_safe_receiver: kotlin.Int?
|
||||
$RECEIVER of 'inc() on Int?: Int?' type=kotlin.Int?
|
||||
WHEN type=kotlin.Int? operator=SAFE_CALL
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -33,7 +33,7 @@ FILE /safeCallWithIncrementDecrement.kt
|
||||
FUN public fun testProperty(nc: test.C?): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Int? operator=SAFE_CALL
|
||||
VAR val tmp0_safe_receiver: test.C?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_safe_receiver: test.C?
|
||||
GET_VAR 'value-parameter nc: C?' type=test.C? operator=null
|
||||
WHEN type=kotlin.Int? operator=SAFE_CALL
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -41,10 +41,10 @@ FILE /safeCallWithIncrementDecrement.kt
|
||||
arg1: CONST Null type=kotlin.Nothing? value='null'
|
||||
then: CONST Null type=kotlin.Nothing? value='null'
|
||||
else: BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp1_this: test.C?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_this: test.C?
|
||||
GET_VAR 'tmp0_safe_receiver: C?' type=test.C? operator=null
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp2: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp2: kotlin.Int
|
||||
CALL '<get-p>() on C?: Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
$this: GET_VAR 'tmp1_this: C?' type=test.C? operator=null
|
||||
CALL '<set-p>(Int) on C?: Unit' type=kotlin.Unit operator=POSTFIX_INCR
|
||||
@@ -55,9 +55,9 @@ FILE /safeCallWithIncrementDecrement.kt
|
||||
FUN public fun testArrayAccess(nc: test.C?): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp3_array: kotlin.Int?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp3_array: kotlin.Int?
|
||||
BLOCK type=kotlin.Int? operator=SAFE_CALL
|
||||
VAR val tmp0_safe_receiver: test.C?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_safe_receiver: test.C?
|
||||
GET_VAR 'value-parameter nc: C?' type=test.C? operator=null
|
||||
WHEN type=kotlin.Int? operator=SAFE_CALL
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -66,9 +66,9 @@ FILE /safeCallWithIncrementDecrement.kt
|
||||
then: CONST Null type=kotlin.Nothing? value='null'
|
||||
else: CALL '<get-p>() on C?: Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: GET_VAR 'tmp0_safe_receiver: C?' type=test.C? operator=null
|
||||
VAR val tmp4_index0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp4_index0: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
VAR val tmp5: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp5: kotlin.Int
|
||||
CALL 'get(Int) on Int?: Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
$receiver: GET_VAR 'tmp3_array: Int?' type=kotlin.Int? operator=null
|
||||
index: GET_VAR 'tmp4_index0: Int' type=kotlin.Int operator=null
|
||||
|
||||
+8
-8
@@ -5,15 +5,15 @@ FILE /safeCalls.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Ref'
|
||||
PROPERTY public final var value: kotlin.Int
|
||||
FIELD public final var value: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var value: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter value: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN public final fun <get-value>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-value>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value>(): Int'
|
||||
GET_BACKING_FIELD 'value: Int' type=kotlin.Int operator=null
|
||||
receiver: THIS of 'Ref' type=Ref
|
||||
FUN public final fun <set-value>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-value>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'value: Int' type=kotlin.Unit operator=null
|
||||
receiver: THIS of 'Ref' type=Ref
|
||||
@@ -28,7 +28,7 @@ FILE /safeCalls.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test1(String?): Int?'
|
||||
BLOCK type=kotlin.Int? operator=SAFE_CALL
|
||||
VAR val tmp0_safe_receiver: kotlin.String?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_safe_receiver: kotlin.String?
|
||||
GET_VAR 'value-parameter x: String?' type=kotlin.String? operator=null
|
||||
WHEN type=kotlin.Int? operator=SAFE_CALL
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -41,7 +41,7 @@ FILE /safeCalls.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test2(String?): Int?'
|
||||
BLOCK type=kotlin.Int? operator=SAFE_CALL
|
||||
VAR val tmp0_safe_receiver: kotlin.String?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_safe_receiver: kotlin.String?
|
||||
GET_VAR 'value-parameter x: String?' type=kotlin.String? operator=null
|
||||
WHEN type=kotlin.Int? operator=SAFE_CALL
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -54,7 +54,7 @@ FILE /safeCalls.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test3(String?, Any?): Boolean?'
|
||||
BLOCK type=kotlin.Boolean? operator=SAFE_CALL
|
||||
VAR val tmp0_safe_receiver: kotlin.String?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_safe_receiver: kotlin.String?
|
||||
GET_VAR 'value-parameter x: String?' type=kotlin.String? operator=null
|
||||
WHEN type=kotlin.Boolean? operator=SAFE_CALL
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -67,7 +67,7 @@ FILE /safeCalls.kt
|
||||
FUN public fun test4(x: Ref?): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit? operator=SAFE_CALL
|
||||
VAR val tmp0_safe_receiver: Ref?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_safe_receiver: Ref?
|
||||
GET_VAR 'value-parameter x: Ref?' type=Ref? operator=null
|
||||
WHEN type=kotlin.Unit? operator=SAFE_CALL
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -81,7 +81,7 @@ FILE /safeCalls.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test5(String?) on IHost: Int?'
|
||||
BLOCK type=kotlin.Int? operator=SAFE_CALL
|
||||
VAR val tmp0_safe_receiver: kotlin.String?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_safe_receiver: kotlin.String?
|
||||
GET_VAR 'value-parameter s: String?' type=kotlin.String? operator=null
|
||||
WHEN type=kotlin.Int? operator=SAFE_CALL
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
|
||||
@@ -16,7 +16,7 @@ FILE /smartCastsWithDestructuring.kt
|
||||
GET_VAR 'value-parameter x: I1' type=I1 operator=null
|
||||
then: RETURN type=kotlin.Nothing from='test(I1): Unit'
|
||||
COMPOSITE type=kotlin.Unit operator=DESTRUCTURING_DECLARATION
|
||||
VAR val tmp0_container: I1
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_container: I1
|
||||
GET_VAR 'value-parameter x: I1' type=I1 operator=null
|
||||
VAR val c1: kotlin.Int
|
||||
CALL 'component1() on I1: Int' type=kotlin.Int operator=COMPONENT_N(index=1)
|
||||
|
||||
+5
-5
@@ -4,10 +4,10 @@ FILE /smoke.kt
|
||||
RETURN type=kotlin.Nothing from='testFun(): String'
|
||||
CONST String type=kotlin.String value='OK'
|
||||
PROPERTY public val testSimpleVal: kotlin.Int = 1
|
||||
FIELD public val testSimpleVal: kotlin.Int = 1
|
||||
FIELD PROPERTY_BACKING_FIELD public val testSimpleVal: kotlin.Int = 1
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='1'
|
||||
FUN public fun <get-testSimpleVal>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-testSimpleVal>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-testSimpleVal>(): Int'
|
||||
GET_BACKING_FIELD 'testSimpleVal: Int' type=kotlin.Int operator=null
|
||||
@@ -17,14 +17,14 @@ FILE /smoke.kt
|
||||
RETURN type=kotlin.Nothing from='<get-testValWithGetter>(): Int'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
PROPERTY public var testSimpleVar: kotlin.Int
|
||||
FIELD public var testSimpleVar: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public var testSimpleVar: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='2'
|
||||
FUN public fun <get-testSimpleVar>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-testSimpleVar>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-testSimpleVar>(): Int'
|
||||
GET_BACKING_FIELD 'testSimpleVar: Int' type=kotlin.Int operator=null
|
||||
FUN public fun <set-testSimpleVar>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <set-testSimpleVar>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'testSimpleVar: Int' type=kotlin.Unit operator=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
|
||||
+12
-12
@@ -4,41 +4,41 @@ FILE /stringTemplates.kt
|
||||
RETURN type=kotlin.Nothing from='foo(): String'
|
||||
CONST String type=kotlin.String value=''
|
||||
PROPERTY public val test1: kotlin.String = ""
|
||||
FIELD public val test1: kotlin.String = ""
|
||||
FIELD PROPERTY_BACKING_FIELD public val test1: kotlin.String = ""
|
||||
EXPRESSION_BODY
|
||||
CONST String type=kotlin.String value=''
|
||||
FUN public fun <get-test1>(): kotlin.String
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): String'
|
||||
GET_BACKING_FIELD 'test1: String' type=kotlin.String operator=null
|
||||
PROPERTY public val test2: kotlin.String = "abc"
|
||||
FIELD public val test2: kotlin.String = "abc"
|
||||
FIELD PROPERTY_BACKING_FIELD public val test2: kotlin.String = "abc"
|
||||
EXPRESSION_BODY
|
||||
CONST String type=kotlin.String value='abc'
|
||||
FUN public fun <get-test2>(): kotlin.String
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test2>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): String'
|
||||
GET_BACKING_FIELD 'test2: String' type=kotlin.String operator=null
|
||||
PROPERTY public val test3: kotlin.String = ""
|
||||
FIELD public val test3: kotlin.String = ""
|
||||
FIELD PROPERTY_BACKING_FIELD public val test3: kotlin.String = ""
|
||||
EXPRESSION_BODY
|
||||
CONST String type=kotlin.String value=''
|
||||
FUN public fun <get-test3>(): kotlin.String
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test3>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test3>(): String'
|
||||
GET_BACKING_FIELD 'test3: String' type=kotlin.String operator=null
|
||||
PROPERTY public val test4: kotlin.String = "abc"
|
||||
FIELD public val test4: kotlin.String = "abc"
|
||||
FIELD PROPERTY_BACKING_FIELD public val test4: kotlin.String = "abc"
|
||||
EXPRESSION_BODY
|
||||
CONST String type=kotlin.String value='abc'
|
||||
FUN public fun <get-test4>(): kotlin.String
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test4>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test4>(): String'
|
||||
GET_BACKING_FIELD 'test4: String' type=kotlin.String operator=null
|
||||
PROPERTY public val test5: kotlin.String = "
|
||||
abc
|
||||
"
|
||||
FIELD public val test5: kotlin.String = "
|
||||
FIELD PROPERTY_BACKING_FIELD public val test5: kotlin.String = "
|
||||
abc
|
||||
"
|
||||
EXPRESSION_BODY
|
||||
@@ -48,18 +48,18 @@ abc
|
||||
CONST String type=kotlin.String value='abc'
|
||||
CONST String type=kotlin.String value='
|
||||
'
|
||||
FUN public fun <get-test5>(): kotlin.String
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test5>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test5>(): String'
|
||||
GET_BACKING_FIELD 'test5: String' type=kotlin.String operator=null
|
||||
PROPERTY public val test6: kotlin.String
|
||||
FIELD public val test6: kotlin.String
|
||||
FIELD PROPERTY_BACKING_FIELD public val test6: kotlin.String
|
||||
EXPRESSION_BODY
|
||||
STRING_CONCATENATION type=kotlin.String
|
||||
CALL '<get-test1>(): String' type=kotlin.String operator=GET_PROPERTY
|
||||
CONST String type=kotlin.String value=' '
|
||||
CALL 'foo(): String' type=kotlin.String operator=null
|
||||
FUN public fun <get-test6>(): kotlin.String
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test6>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test6>(): String'
|
||||
GET_BACKING_FIELD 'test6: String' type=kotlin.String operator=null
|
||||
|
||||
+4
-4
@@ -6,9 +6,9 @@ FILE /values.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Enum'
|
||||
ENUM_ENTRY enum entry A
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor Enum()' A
|
||||
FUN public final fun values(): kotlin.Array<Enum>
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<Enum>
|
||||
SYNTHETIC_BODY kind=ENUM_VALUES
|
||||
FUN public final fun valueOf(value: kotlin.String): Enum
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun valueOf(value: kotlin.String): Enum
|
||||
SYNTHETIC_BODY kind=ENUM_VALUEOF
|
||||
CLASS OBJECT A
|
||||
CONSTRUCTOR private constructor A()
|
||||
@@ -16,10 +16,10 @@ FILE /values.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='A'
|
||||
PROPERTY public val a: kotlin.Int = 0
|
||||
FIELD public val a: kotlin.Int = 0
|
||||
FIELD PROPERTY_BACKING_FIELD public val a: kotlin.Int = 0
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN public fun <get-a>(): kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-a>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-a>(): Int'
|
||||
GET_BACKING_FIELD 'a: Int' type=kotlin.Int operator=null
|
||||
|
||||
+6
-6
@@ -1,26 +1,26 @@
|
||||
FILE /vararg.kt
|
||||
PROPERTY public val test1: kotlin.Array<kotlin.String>
|
||||
FIELD public val test1: kotlin.Array<kotlin.String>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test1: kotlin.Array<kotlin.String>
|
||||
EXPRESSION_BODY
|
||||
CALL 'arrayOf(vararg String): Array<String>' type=kotlin.Array<kotlin.String> operator=null
|
||||
FUN public fun <get-test1>(): kotlin.Array<kotlin.String>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): kotlin.Array<kotlin.String>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): Array<String>'
|
||||
GET_BACKING_FIELD 'test1: Array<String>' type=kotlin.Array<kotlin.String> operator=null
|
||||
PROPERTY public val test2: kotlin.Array<kotlin.String>
|
||||
FIELD public val test2: kotlin.Array<kotlin.String>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test2: kotlin.Array<kotlin.String>
|
||||
EXPRESSION_BODY
|
||||
CALL 'arrayOf(vararg String): Array<String>' type=kotlin.Array<kotlin.String> operator=null
|
||||
elements: VARARG type=Array<out String> varargElementType=String
|
||||
CONST String type=kotlin.String value='1'
|
||||
CONST String type=kotlin.String value='2'
|
||||
CONST String type=kotlin.String value='3'
|
||||
FUN public fun <get-test2>(): kotlin.Array<kotlin.String>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test2>(): kotlin.Array<kotlin.String>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): Array<String>'
|
||||
GET_BACKING_FIELD 'test2: Array<String>' type=kotlin.Array<kotlin.String> operator=null
|
||||
PROPERTY public val test3: kotlin.Array<kotlin.String>
|
||||
FIELD public val test3: kotlin.Array<kotlin.String>
|
||||
FIELD PROPERTY_BACKING_FIELD public val test3: kotlin.Array<kotlin.String>
|
||||
EXPRESSION_BODY
|
||||
CALL 'arrayOf(vararg String): Array<String>' type=kotlin.Array<kotlin.String> operator=null
|
||||
elements: VARARG type=Array<out String> varargElementType=String
|
||||
@@ -30,7 +30,7 @@ FILE /vararg.kt
|
||||
SPREAD_ELEMENT
|
||||
CALL '<get-test1>(): Array<String>' type=kotlin.Array<kotlin.String> operator=GET_PROPERTY
|
||||
CONST String type=kotlin.String value='4'
|
||||
FUN public fun <get-test3>(): kotlin.Array<kotlin.String>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test3>(): kotlin.Array<kotlin.String>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test3>(): Array<String>'
|
||||
GET_BACKING_FIELD 'test3: Array<String>' type=kotlin.Array<kotlin.String> operator=null
|
||||
|
||||
@@ -3,7 +3,7 @@ FILE /variableAsFunctionCall.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='k() on String: () -> String'
|
||||
BLOCK type=() -> kotlin.String operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.String
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): String'
|
||||
$RECEIVER of 'k() on String: () -> String' type=kotlin.String
|
||||
@@ -29,9 +29,9 @@ FILE /variableAsFunctionCall.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test4(String?): String?'
|
||||
BLOCK type=kotlin.String? operator=SAFE_CALL
|
||||
VAR val tmp1_safe_receiver: (() -> kotlin.String)?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_safe_receiver: (() -> kotlin.String)?
|
||||
BLOCK type=(() -> kotlin.String)? operator=SAFE_CALL
|
||||
VAR val tmp0_safe_receiver: kotlin.String?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_safe_receiver: kotlin.String?
|
||||
GET_VAR 'value-parameter ns: String?' type=kotlin.String? operator=null
|
||||
WHEN type=(() -> kotlin.String)? operator=SAFE_CALL
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@ FILE /when.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='testWithSubject(Any?): String'
|
||||
BLOCK type=kotlin.String operator=WHEN
|
||||
VAR val tmp0_subject: kotlin.Any?
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_subject: kotlin.Any?
|
||||
GET_VAR 'value-parameter x: Any?' type=kotlin.Any? operator=null
|
||||
WHEN type=kotlin.String operator=WHEN
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -51,7 +51,7 @@ FILE /when.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='testComma(Int): String'
|
||||
BLOCK type=kotlin.String operator=WHEN
|
||||
VAR val tmp0_subject: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_subject: kotlin.Int
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
|
||||
WHEN type=kotlin.String operator=WHEN
|
||||
if: WHEN type=kotlin.Boolean operator=WHEN_COMMA
|
||||
|
||||
@@ -14,7 +14,7 @@ FILE /whileDoWhile.kt
|
||||
$this: GET_VAR 'x: Int' type=kotlin.Int operator=null
|
||||
other: CONST Int type=kotlin.Int value='5'
|
||||
body: BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0: kotlin.Int
|
||||
GET_VAR 'x: Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
SET_VAR 'x: Int' type=kotlin.Unit operator=POSTFIX_INCR
|
||||
CALL 'inc(): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
@@ -27,7 +27,7 @@ FILE /whileDoWhile.kt
|
||||
other: CONST Int type=kotlin.Int value='10'
|
||||
body: BLOCK type=kotlin.Int operator=null
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp1: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1: kotlin.Int
|
||||
GET_VAR 'x: Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
SET_VAR 'x: Int' type=kotlin.Unit operator=POSTFIX_INCR
|
||||
CALL 'inc(): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
@@ -40,7 +40,7 @@ FILE /whileDoWhile.kt
|
||||
other: CONST Int type=kotlin.Int value='0'
|
||||
DO_WHILE label=null operator=DO_WHILE_LOOP
|
||||
body: BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp2: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp2: kotlin.Int
|
||||
GET_VAR 'x: Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
SET_VAR 'x: Int' type=kotlin.Unit operator=POSTFIX_INCR
|
||||
CALL 'inc(): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
@@ -53,7 +53,7 @@ FILE /whileDoWhile.kt
|
||||
DO_WHILE label=null operator=DO_WHILE_LOOP
|
||||
body: BLOCK type=kotlin.Unit operator=null
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp3: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp3: kotlin.Int
|
||||
GET_VAR 'x: Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
SET_VAR 'x: Int' type=kotlin.Unit operator=POSTFIX_INCR
|
||||
CALL 'inc(): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
FILE /anonymousFunction.kt
|
||||
PROPERTY public val anonymous: () -> kotlin.Unit
|
||||
FIELD public val anonymous: () -> kotlin.Unit
|
||||
FIELD PROPERTY_BACKING_FIELD public val anonymous: () -> kotlin.Unit
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=() -> kotlin.Unit operator=ANONYMOUS_FUNCTION
|
||||
FUN local final fun <no name provided>(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'println(): Unit' type=kotlin.Unit operator=null
|
||||
CALLABLE_REFERENCE '<no name provided>(): Unit' type=() -> kotlin.Unit operator=ANONYMOUS_FUNCTION
|
||||
FUN public fun <get-anonymous>(): () -> kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-anonymous>(): () -> kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-anonymous>(): () -> Unit'
|
||||
GET_BACKING_FIELD 'anonymous: () -> Unit' type=() -> kotlin.Unit operator=null
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ FILE /extensionLambda.kt
|
||||
CALL 'run(String.() -> Int) on String: Int' type=kotlin.Int operator=null
|
||||
$receiver: CONST String type=kotlin.String value='42'
|
||||
block: BLOCK type=kotlin.String.() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun kotlin.String.<anonymous>(): kotlin.Int
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun kotlin.String.<anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>() on String: Int'
|
||||
CALL '<get-length>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
|
||||
+6
-6
@@ -1,26 +1,26 @@
|
||||
FILE /justLambda.kt
|
||||
PROPERTY public val test1: () -> kotlin.Int
|
||||
FIELD public val test1: () -> kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public val test1: () -> kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Int
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Int'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Int' type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN public fun <get-test1>(): () -> kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): () -> kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): () -> Int'
|
||||
GET_BACKING_FIELD 'test1: () -> Int' type=() -> kotlin.Int operator=null
|
||||
PROPERTY public val test2: () -> kotlin.Unit
|
||||
FIELD public val test2: () -> kotlin.Unit
|
||||
FIELD PROPERTY_BACKING_FIELD public val test2: () -> kotlin.Unit
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=() -> kotlin.Unit operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Unit
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Unit' type=() -> kotlin.Unit operator=LAMBDA
|
||||
FUN public fun <get-test2>(): () -> kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test2>(): () -> kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): () -> Unit'
|
||||
GET_BACKING_FIELD 'test2: () -> Unit' type=() -> kotlin.Unit operator=null
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ FILE /localFunction.kt
|
||||
FUN local final fun local(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0: kotlin.Int
|
||||
GET_VAR 'x: Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
SET_VAR 'x: Int' type=kotlin.Unit operator=POSTFIX_INCR
|
||||
CALL 'inc(): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
|
||||
@@ -25,19 +25,19 @@ FILE /multipleImplicitReceivers.kt
|
||||
CALL 'with(A, A.() -> Int): Int' type=kotlin.Int operator=null
|
||||
receiver: GET_OBJECT 'A' type=A
|
||||
block: BLOCK type=A.() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun A.<anonymous>(): kotlin.Int
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun A.<anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>() on A: Int'
|
||||
CALL 'with(IFoo, IFoo.() -> Int): Int' type=kotlin.Int operator=null
|
||||
receiver: GET_VAR 'value-parameter fooImpl: IFoo' type=IFoo operator=null
|
||||
block: BLOCK type=IFoo.() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun IFoo.<anonymous>(): kotlin.Int
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun IFoo.<anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>() on IFoo: Int'
|
||||
CALL 'with(IInvoke, IInvoke.() -> Int): Int' type=kotlin.Int operator=null
|
||||
receiver: GET_VAR 'value-parameter invokeImpl: IInvoke' type=IInvoke operator=null
|
||||
block: BLOCK type=IInvoke.() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun IInvoke.<anonymous>(): kotlin.Int
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun IInvoke.<anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>() on IInvoke: Int'
|
||||
CALL 'invoke() on B: Int' type=kotlin.Int operator=INVOKE
|
||||
|
||||
+5
-5
@@ -3,7 +3,7 @@ FILE /nonLocalReturn.kt
|
||||
BLOCK_BODY
|
||||
CALL 'run(() -> Nothing): Nothing' type=kotlin.Nothing operator=null
|
||||
block: BLOCK type=() -> kotlin.Nothing operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Nothing
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Nothing
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test0(): Unit'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Nothing' type=() -> kotlin.Nothing operator=LAMBDA
|
||||
@@ -11,7 +11,7 @@ FILE /nonLocalReturn.kt
|
||||
BLOCK_BODY
|
||||
CALL 'run(() -> Unit): Unit' type=kotlin.Unit operator=null
|
||||
block: BLOCK type=() -> kotlin.Unit operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Unit
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Unit' type=() -> kotlin.Unit operator=LAMBDA
|
||||
@@ -19,7 +19,7 @@ FILE /nonLocalReturn.kt
|
||||
BLOCK_BODY
|
||||
CALL 'run(() -> Unit): Unit' type=kotlin.Unit operator=null
|
||||
block: BLOCK type=() -> kotlin.Unit operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Unit
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Unit' type=() -> kotlin.Unit operator=LAMBDA
|
||||
@@ -28,7 +28,7 @@ FILE /nonLocalReturn.kt
|
||||
CALL 'forEach((Int) -> Unit) on Iterable<Int>: Unit' type=kotlin.Unit operator=null
|
||||
$receiver: GET_VAR 'value-parameter ints: List<Int>' type=kotlin.collections.List<kotlin.Int> operator=null
|
||||
action: BLOCK type=(kotlin.Int) -> kotlin.Unit operator=LAMBDA
|
||||
FUN local final fun <anonymous>(it: kotlin.Int): kotlin.Unit
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(it: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit operator=IF
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -44,7 +44,7 @@ FILE /nonLocalReturn.kt
|
||||
CALL 'forEach((Int) -> Unit) on Iterable<Int>: Unit' type=kotlin.Unit operator=null
|
||||
$receiver: GET_VAR 'value-parameter ints: List<Int>' type=kotlin.collections.List<kotlin.Int> operator=null
|
||||
action: BLOCK type=(kotlin.Int) -> kotlin.Unit operator=LAMBDA
|
||||
FUN local final fun <anonymous>(it: kotlin.Int): kotlin.Unit
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(it: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit operator=IF
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ FILE /samAdapter.kt
|
||||
VAR val hello: java.lang.Runnable
|
||||
CALL 'Runnable(() -> Unit): Runnable' type=java.lang.Runnable operator=null
|
||||
function: BLOCK type=() -> kotlin.Unit operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Unit
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
|
||||
Reference in New Issue
Block a user