IR: don't use descriptors in rendering (work in progress)
There's some descriptor-based code remaining. Need some more work on IR.
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
FILE fqName:<root> fileName:/anonymousFunction.kt
|
||||
PROPERTY name:anonymous visibility:public modality:FINAL flags:val
|
||||
FIELD PROPERTY_BACKING_FIELD name:anonymous type:kotlin.Function0<kotlin.Unit> visibility:public flags:final,static
|
||||
PROPERTY name:anonymous visibility:public modality:FINAL flags:[val]
|
||||
FIELD PROPERTY_BACKING_FIELD name:anonymous type:kotlin.Function0<kotlin.Unit> visibility:public flags:[final,static]
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=kotlin.Function0<kotlin.Unit> origin=ANONYMOUS_FUNCTION
|
||||
FUN name:<no name provided> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
FUN name:<no name provided> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
BLOCK_BODY
|
||||
CALL 'println(): Unit' type=kotlin.Unit origin=null
|
||||
FUNCTION_REFERENCE '<no name provided>(): Unit' type=kotlin.Function0<kotlin.Unit> origin=ANONYMOUS_FUNCTION
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-anonymous> visibility:public modality:FINAL <> () returnType:kotlin.Function0<kotlin.Unit> flags:
|
||||
correspondingProperty: PROPERTY name:anonymous visibility:public modality:FINAL flags:val
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:println visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[inline]' type=kotlin.Unit origin=null
|
||||
FUNCTION_REFERENCE 'FUN name:<no name provided> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]' type=kotlin.Function0<kotlin.Unit> origin=ANONYMOUS_FUNCTION
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-anonymous> visibility:public modality:FINAL <> () returnType:kotlin.Function0<kotlin.Unit> flags:[]
|
||||
correspondingProperty: PROPERTY name:anonymous visibility:public modality:FINAL flags:[val]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-anonymous>(): () -> Unit'
|
||||
GET_FIELD 'anonymous: () -> Unit' type=kotlin.Function0<kotlin.Unit> origin=null
|
||||
RETURN type=kotlin.Nothing from='FUN DEFAULT_PROPERTY_ACCESSOR name:<get-anonymous> visibility:public modality:FINAL <> () returnType:kotlin.Function0<kotlin.Unit> flags:[]'
|
||||
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:anonymous type:kotlin.Function0<kotlin.Unit> visibility:public flags:[final,static]' type=kotlin.Function0<kotlin.Unit> origin=null
|
||||
|
||||
+124
-124
@@ -1,167 +1,167 @@
|
||||
FILE fqName:<root> fileName:/destructuringInLambda.kt
|
||||
CLASS CLASS name:A modality:FINAL visibility:public flags:data superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:A flags:
|
||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int, y:kotlin.Int) returnType:A flags:primary
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
VALUE_PARAMETER name:y index:1 type:kotlin.Int flags:
|
||||
CLASS CLASS name:A modality:FINAL visibility:public flags:[data] superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A flags:[]
|
||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int, y:kotlin.Int) returnType:<root>.A flags:[primary]
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]
|
||||
VALUE_PARAMETER name:y index:1 type:kotlin.Int flags:[]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='A'
|
||||
PROPERTY name:x visibility:public modality:FINAL flags:val
|
||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public flags:final
|
||||
DELEGATING_CONSTRUCTOR_CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.Any flags:[primary]'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:A modality:FINAL visibility:public flags:[data] superTypes:[kotlin.Any]'
|
||||
PROPERTY name:x visibility:public modality:FINAL flags:[val]
|
||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public flags:[final]
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:A) returnType:kotlin.Int flags:
|
||||
correspondingProperty: PROPERTY name:x visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:A flags:
|
||||
GET_VAR 'VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]
|
||||
correspondingProperty: PROPERTY name:x visibility:public modality:FINAL flags:[val]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR 'this@A: A' type=A origin=null
|
||||
PROPERTY name:y visibility:public modality:FINAL flags:val
|
||||
FIELD PROPERTY_BACKING_FIELD name:y type:kotlin.Int visibility:public flags:final
|
||||
RETURN type=kotlin.Nothing from='FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]'
|
||||
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public flags:[final]' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.A flags:[]' type=<root>.A origin=null
|
||||
PROPERTY name:y visibility:public modality:FINAL flags:[val]
|
||||
FIELD PROPERTY_BACKING_FIELD name:y type:kotlin.Int visibility:public flags:[final]
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-y> visibility:public modality:FINAL <> ($this:A) returnType:kotlin.Int flags:
|
||||
correspondingProperty: PROPERTY name:y visibility:public modality:FINAL flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:A flags:
|
||||
GET_VAR 'VALUE_PARAMETER name:y index:1 type:kotlin.Int flags:[]' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-y> visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]
|
||||
correspondingProperty: PROPERTY name:y visibility:public modality:FINAL flags:[val]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR 'this@A: A' type=A origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER name:component1 visibility:public modality:FINAL <> ($this:A) returnType:kotlin.Int flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:A flags:
|
||||
RETURN type=kotlin.Nothing from='FUN DEFAULT_PROPERTY_ACCESSOR name:<get-y> visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]'
|
||||
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:y type:kotlin.Int visibility:public flags:[final]' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.A flags:[]' type=<root>.A origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER name:component1 visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='component1(): Int'
|
||||
CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'this@A: A' type=A origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER name:component2 visibility:public modality:FINAL <> ($this:A) returnType:kotlin.Int flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:A flags:
|
||||
RETURN type=kotlin.Nothing from='FUN GENERATED_DATA_CLASS_MEMBER name:component1 visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]'
|
||||
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.A flags:[]' type=<root>.A origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER name:component2 visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='component2(): Int'
|
||||
CALL '<get-y>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'this@A: A' type=A origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER name:copy visibility:public modality:FINAL <> ($this:A, x:kotlin.Int, y:kotlin.Int) returnType:A flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:A flags:
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
RETURN type=kotlin.Nothing from='FUN GENERATED_DATA_CLASS_MEMBER name:component2 visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]'
|
||||
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<get-y> visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.A flags:[]' type=<root>.A origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER name:copy visibility:public modality:FINAL <> ($this:<root>.A, x:kotlin.Int, y:kotlin.Int) returnType:<root>.A flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A flags:[]
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]
|
||||
EXPRESSION_BODY
|
||||
CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'this@A: A' type=A origin=null
|
||||
VALUE_PARAMETER name:y index:1 type:kotlin.Int flags:
|
||||
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.A flags:[]' type=<root>.A origin=null
|
||||
VALUE_PARAMETER name:y index:1 type:kotlin.Int flags:[]
|
||||
EXPRESSION_BODY
|
||||
CALL '<get-y>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'this@A: A' type=A origin=null
|
||||
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<get-y> visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.A flags:[]' type=<root>.A origin=null
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='copy(Int = ..., Int = ...): A'
|
||||
CALL 'constructor A(Int, Int)' type=A origin=null
|
||||
x: GET_VAR 'value-parameter x: Int = ...' type=kotlin.Int origin=null
|
||||
y: GET_VAR 'value-parameter y: Int = ...' type=kotlin.Int origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER name:toString visibility:public modality:OPEN <> ($this:A) returnType:kotlin.String flags:
|
||||
RETURN type=kotlin.Nothing from='FUN GENERATED_DATA_CLASS_MEMBER name:copy visibility:public modality:FINAL <> ($this:<root>.A, x:kotlin.Int, y:kotlin.Int) returnType:<root>.A flags:[]'
|
||||
CALL 'CONSTRUCTOR visibility:public <> (x:kotlin.Int, y:kotlin.Int) returnType:<root>.A flags:[primary]' type=<root>.A origin=null
|
||||
x: GET_VAR 'VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
y: GET_VAR 'VALUE_PARAMETER name:y index:1 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER name:toString visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.String flags:[]
|
||||
overridden:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:A flags:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='toString(): String'
|
||||
RETURN type=kotlin.Nothing from='FUN GENERATED_DATA_CLASS_MEMBER name:toString visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.String flags:[]'
|
||||
STRING_CONCATENATION type=kotlin.String
|
||||
CONST String type=kotlin.String value="A("
|
||||
CONST String type=kotlin.String value="x="
|
||||
CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'this@A: A' type=A origin=null
|
||||
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.A flags:[]' type=<root>.A origin=null
|
||||
CONST String type=kotlin.String value=", "
|
||||
CONST String type=kotlin.String value="y="
|
||||
CALL '<get-y>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'this@A: A' type=A origin=null
|
||||
CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<get-y> visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.A flags:[]' type=<root>.A origin=null
|
||||
CONST String type=kotlin.String value=")"
|
||||
FUN GENERATED_DATA_CLASS_MEMBER name:hashCode visibility:public modality:OPEN <> ($this:A) returnType:kotlin.Int flags:
|
||||
FUN GENERATED_DATA_CLASS_MEMBER name:hashCode visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Int flags:[]
|
||||
overridden:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:A flags:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A flags:[]
|
||||
BLOCK_BODY
|
||||
VAR IR_TEMPORARY_VARIABLE name:tmp0_result type:kotlin.Int flags:var
|
||||
VAR IR_TEMPORARY_VARIABLE name:tmp0_result type:kotlin.Int flags:[var]
|
||||
CONST Int type=kotlin.Int value=0
|
||||
SET_VAR 'tmp0_result: Int' type=kotlin.Unit origin=EQ
|
||||
CALL 'hashCode(): Int' type=kotlin.Int origin=null
|
||||
$this: CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'this@A: A' type=A origin=null
|
||||
SET_VAR 'tmp0_result: Int' type=kotlin.Unit origin=EQ
|
||||
CALL 'plus(Int): Int' type=kotlin.Int origin=null
|
||||
$this: CALL 'times(Int): Int' type=kotlin.Int origin=null
|
||||
$this: GET_VAR 'tmp0_result: Int' type=kotlin.Int origin=null
|
||||
SET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp0_result type:kotlin.Int flags:[var]' type=kotlin.Unit origin=EQ
|
||||
CALL 'FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
$this: CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.A flags:[]' type=<root>.A origin=null
|
||||
SET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp0_result type:kotlin.Int flags:[var]' type=kotlin.Unit origin=EQ
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:plus visibility:public modality:FINAL <> ($this:kotlin.Int, other:kotlin.Int) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
$this: CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:times visibility:public modality:FINAL <> ($this:kotlin.Int, other:kotlin.Int) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
$this: GET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp0_result type:kotlin.Int flags:[var]' type=kotlin.Int origin=null
|
||||
other: CONST Int type=kotlin.Int value=31
|
||||
other: CALL 'hashCode(): Int' type=kotlin.Int origin=null
|
||||
$this: CALL '<get-y>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'this@A: A' type=A origin=null
|
||||
RETURN type=kotlin.Nothing from='hashCode(): Int'
|
||||
GET_VAR 'tmp0_result: Int' type=kotlin.Int origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:A, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
||||
other: CALL 'FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
$this: CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<get-y> visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.A flags:[]' type=<root>.A origin=null
|
||||
RETURN type=kotlin.Nothing from='FUN GENERATED_DATA_CLASS_MEMBER name:hashCode visibility:public modality:OPEN <> ($this:<root>.A) returnType:kotlin.Int flags:[]'
|
||||
GET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp0_result type:kotlin.Int flags:[var]' type=kotlin.Int origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:<root>.A, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]
|
||||
overridden:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:A flags:
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.A flags:[]
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:[]
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
BRANCH
|
||||
if: CALL 'EQEQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQEQ
|
||||
arg0: GET_VAR 'this@A: A' type=A origin=null
|
||||
arg1: GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
|
||||
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
if: CALL 'FUN IR_BUILTINS_STUB name:EQEQEQ visibility:public modality:FINAL <> (arg0:kotlin.Any?, arg1:kotlin.Any?) returnType:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=EQEQEQ
|
||||
arg0: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.A flags:[]' type=<root>.A origin=null
|
||||
arg1: GET_VAR 'VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:[]' type=kotlin.Any? origin=null
|
||||
then: RETURN type=kotlin.Nothing from='FUN GENERATED_DATA_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:<root>.A, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]'
|
||||
CONST Boolean type=kotlin.Boolean value=true
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=A
|
||||
typeOperand: CLASS CLASS name:A modality:FINAL visibility:public flags:data superTypes:[kotlin.Any]
|
||||
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
|
||||
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=<root>.A
|
||||
typeOperand: CLASS CLASS name:A modality:FINAL visibility:public flags:[data] superTypes:[kotlin.Any]
|
||||
GET_VAR 'VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:[]' type=kotlin.Any? origin=null
|
||||
then: RETURN type=kotlin.Nothing from='FUN GENERATED_DATA_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:<root>.A, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]'
|
||||
CONST Boolean type=kotlin.Boolean value=false
|
||||
VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:A flags:val
|
||||
TYPE_OP type=A origin=CAST typeOperand=A
|
||||
typeOperand: CLASS CLASS name:A modality:FINAL visibility:public flags:data superTypes:[kotlin.Any]
|
||||
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
|
||||
VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:<root>.A flags:[val]
|
||||
TYPE_OP type=<root>.A origin=CAST typeOperand=<root>.A
|
||||
typeOperand: CLASS CLASS name:A modality:FINAL visibility:public flags:[data] superTypes:[kotlin.Any]
|
||||
GET_VAR 'VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:[]' type=kotlin.Any? origin=null
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
BRANCH
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'this@A: A' type=A origin=null
|
||||
arg1: CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'tmp0_other_with_cast: A' type=A origin=null
|
||||
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
if: CALL 'FUN IR_BUILTINS_STUB name:NOT visibility:public modality:FINAL <> (arg0:kotlin.Boolean) returnType:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'FUN IR_BUILTINS_STUB name:EQEQ visibility:public modality:FINAL <> (arg0:kotlin.Any?, arg1:kotlin.Any?) returnType:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.A flags:[]' type=<root>.A origin=null
|
||||
arg1: CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:<root>.A flags:[val]' type=<root>.A origin=null
|
||||
then: RETURN type=kotlin.Nothing from='FUN GENERATED_DATA_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:<root>.A, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]'
|
||||
CONST Boolean type=kotlin.Boolean value=false
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
BRANCH
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL '<get-y>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'this@A: A' type=A origin=null
|
||||
arg1: CALL '<get-y>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'tmp0_other_with_cast: A' type=A origin=null
|
||||
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
if: CALL 'FUN IR_BUILTINS_STUB name:NOT visibility:public modality:FINAL <> (arg0:kotlin.Boolean) returnType:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'FUN IR_BUILTINS_STUB name:EQEQ visibility:public modality:FINAL <> (arg0:kotlin.Any?, arg1:kotlin.Any?) returnType:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<get-y> visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.A flags:[]' type=<root>.A origin=null
|
||||
arg1: CALL 'FUN DEFAULT_PROPERTY_ACCESSOR name:<get-y> visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp0_other_with_cast type:<root>.A flags:[val]' type=<root>.A origin=null
|
||||
then: RETURN type=kotlin.Nothing from='FUN GENERATED_DATA_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:<root>.A, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]'
|
||||
CONST Boolean type=kotlin.Boolean value=false
|
||||
RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
RETURN type=kotlin.Nothing from='FUN GENERATED_DATA_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:<root>.A, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]'
|
||||
CONST Boolean type=kotlin.Boolean value=true
|
||||
PROPERTY name:fn visibility:public modality:FINAL flags:var
|
||||
FIELD PROPERTY_BACKING_FIELD name:fn type:kotlin.Function1<A, kotlin.Int> visibility:public flags:static
|
||||
PROPERTY name:fn visibility:public modality:FINAL flags:[var]
|
||||
FIELD PROPERTY_BACKING_FIELD name:fn type:kotlin.Function1<<root>.A, kotlin.Int> visibility:public flags:[static]
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=kotlin.Function1<A, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (<name for destructuring parameter 0>:A) returnType:kotlin.Int flags:
|
||||
VALUE_PARAMETER name:<name for destructuring parameter 0> index:0 type:A flags:
|
||||
BLOCK type=kotlin.Function1<<root>.A, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (<name for destructuring parameter 0>:<root>.A) returnType:kotlin.Int flags:[]
|
||||
VALUE_PARAMETER name:<name for destructuring parameter 0> index:0 type:<root>.A flags:[]
|
||||
BLOCK_BODY
|
||||
VAR name:y type:kotlin.Int flags:val
|
||||
CALL 'component2(): Int' type=kotlin.Int origin=COMPONENT_N(index=2)
|
||||
$this: GET_VAR 'value-parameter <name for destructuring parameter 0>: A' type=A origin=DESTRUCTURING_DECLARATION
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(A): Int'
|
||||
CALL 'plus(Int): Int' type=kotlin.Int origin=PLUS
|
||||
VAR name:y type:kotlin.Int flags:[val]
|
||||
CALL 'FUN GENERATED_DATA_CLASS_MEMBER name:component2 visibility:public modality:FINAL <> ($this:<root>.A) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=COMPONENT_N(index=2)
|
||||
$this: GET_VAR 'VALUE_PARAMETER name:<name for destructuring parameter 0> index:0 type:<root>.A flags:[]' type=<root>.A origin=DESTRUCTURING_DECLARATION
|
||||
RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (<name for destructuring parameter 0>:<root>.A) returnType:kotlin.Int flags:[]'
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:plus visibility:public modality:FINAL <> ($this:kotlin.Int, other:kotlin.Int) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=PLUS
|
||||
$this: CONST Int type=kotlin.Int value=42
|
||||
other: GET_VAR 'y: Int' type=kotlin.Int origin=null
|
||||
FUNCTION_REFERENCE '<anonymous>(A): Int' type=kotlin.Function1<A, kotlin.Int> origin=LAMBDA
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-fn> visibility:public modality:FINAL <> () returnType:kotlin.Function1<A, kotlin.Int> flags:
|
||||
correspondingProperty: PROPERTY name:fn visibility:public modality:FINAL flags:var
|
||||
other: GET_VAR 'VAR name:y type:kotlin.Int flags:[val]' type=kotlin.Int origin=null
|
||||
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (<name for destructuring parameter 0>:<root>.A) returnType:kotlin.Int flags:[]' type=kotlin.Function1<<root>.A, kotlin.Int> origin=LAMBDA
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-fn> visibility:public modality:FINAL <> () returnType:kotlin.Function1<<root>.A, kotlin.Int> flags:[]
|
||||
correspondingProperty: PROPERTY name:fn visibility:public modality:FINAL flags:[var]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-fn>(): (A) -> Int'
|
||||
GET_FIELD 'fn: (A) -> Int' type=kotlin.Function1<A, kotlin.Int> origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-fn> visibility:public modality:FINAL <> (<set-?>:kotlin.Function1<A, kotlin.Int>) returnType:kotlin.Unit flags:
|
||||
correspondingProperty: PROPERTY name:fn visibility:public modality:FINAL flags:var
|
||||
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Function1<A, kotlin.Int> flags:
|
||||
RETURN type=kotlin.Nothing from='FUN DEFAULT_PROPERTY_ACCESSOR name:<get-fn> visibility:public modality:FINAL <> () returnType:kotlin.Function1<<root>.A, kotlin.Int> flags:[]'
|
||||
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:fn type:kotlin.Function1<<root>.A, kotlin.Int> visibility:public flags:[static]' type=kotlin.Function1<<root>.A, kotlin.Int> origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-fn> visibility:public modality:FINAL <> (<set-?>:kotlin.Function1<<root>.A, kotlin.Int>) returnType:kotlin.Unit flags:[]
|
||||
correspondingProperty: PROPERTY name:fn visibility:public modality:FINAL flags:[var]
|
||||
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Function1<<root>.A, kotlin.Int> flags:[]
|
||||
BLOCK_BODY
|
||||
SET_FIELD 'fn: (A) -> Int' type=kotlin.Unit origin=null
|
||||
value: GET_VAR 'value-parameter <set-?>: (A) -> Int' type=kotlin.Function1<A, kotlin.Int> origin=null
|
||||
SET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:fn type:kotlin.Function1<<root>.A, kotlin.Int> visibility:public flags:[static]' type=kotlin.Unit origin=null
|
||||
value: GET_VAR 'VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Function1<<root>.A, kotlin.Int> flags:[]' type=kotlin.Function1<<root>.A, kotlin.Int> origin=null
|
||||
|
||||
+10
-10
@@ -1,16 +1,16 @@
|
||||
FILE fqName:<root> fileName:/extensionLambda.kt
|
||||
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
|
||||
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test1(): Int'
|
||||
CALL 'run(T.() -> R) on T: R' type=kotlin.Int origin=null
|
||||
RETURN type=kotlin.Nothing from='FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:[]'
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:run visibility:public modality:FINAL <T, R> ($receiver:kotlin.run.T, block:@[CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.ExtensionFunctionType flags:[primary]' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<kotlin.run.T, kotlin.run.R>) returnType:kotlin.run.R flags:[inline]' type=kotlin.Int origin=null
|
||||
<T>: kotlin.String
|
||||
<R>: kotlin.Int
|
||||
$receiver: CONST String type=kotlin.String value="42"
|
||||
block: BLOCK type=@[CALL 'constructor ExtensionFunctionType()' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<kotlin.String, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:kotlin.String) returnType:kotlin.Int flags:
|
||||
$receiver: VALUE_PARAMETER name:<this> type:kotlin.String flags:
|
||||
block: BLOCK type=@[CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.ExtensionFunctionType flags:[primary]' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<kotlin.String, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:kotlin.String) returnType:kotlin.Int flags:[]
|
||||
$receiver: VALUE_PARAMETER name:<this> type:kotlin.String flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>() on String: Int'
|
||||
CALL '<get-length>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'this@<anonymous>: String' type=kotlin.String origin=null
|
||||
FUNCTION_REFERENCE '<anonymous>() on String: Int' type=@[CALL 'constructor ExtensionFunctionType()' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<kotlin.String, kotlin.Int> origin=LAMBDA
|
||||
RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:kotlin.String) returnType:kotlin.Int flags:[]'
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:<get-length> visibility:public modality:OPEN <> ($this:kotlin.String) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:kotlin.String flags:[]' type=kotlin.String origin=null
|
||||
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:kotlin.String) returnType:kotlin.Int flags:[]' type=@[CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.ExtensionFunctionType flags:[primary]' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<kotlin.String, kotlin.Int> origin=LAMBDA
|
||||
|
||||
+19
-19
@@ -1,29 +1,29 @@
|
||||
FILE fqName:<root> fileName:/justLambda.kt
|
||||
PROPERTY name:test1 visibility:public modality:FINAL flags:val
|
||||
FIELD PROPERTY_BACKING_FIELD name:test1 type:kotlin.Function0<kotlin.Int> visibility:public flags:final,static
|
||||
PROPERTY name:test1 visibility:public modality:FINAL flags:[val]
|
||||
FIELD PROPERTY_BACKING_FIELD name:test1 type:kotlin.Function0<kotlin.Int> visibility:public flags:[final,static]
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=kotlin.Function0<kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Int flags:
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Int flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Int'
|
||||
RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Int flags:[]'
|
||||
CONST Int type=kotlin.Int value=42
|
||||
FUNCTION_REFERENCE '<anonymous>(): Int' type=kotlin.Function0<kotlin.Int> origin=LAMBDA
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:kotlin.Function0<kotlin.Int> flags:
|
||||
correspondingProperty: PROPERTY name:test1 visibility:public modality:FINAL flags:val
|
||||
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Int flags:[]' type=kotlin.Function0<kotlin.Int> origin=LAMBDA
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:kotlin.Function0<kotlin.Int> flags:[]
|
||||
correspondingProperty: PROPERTY name:test1 visibility:public modality:FINAL flags:[val]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): () -> Int'
|
||||
GET_FIELD 'test1: () -> Int' type=kotlin.Function0<kotlin.Int> origin=null
|
||||
PROPERTY name:test2 visibility:public modality:FINAL flags:val
|
||||
FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.Function0<kotlin.Unit> visibility:public flags:final,static
|
||||
RETURN type=kotlin.Nothing from='FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:kotlin.Function0<kotlin.Int> flags:[]'
|
||||
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test1 type:kotlin.Function0<kotlin.Int> visibility:public flags:[final,static]' type=kotlin.Function0<kotlin.Int> origin=null
|
||||
PROPERTY name:test2 visibility:public modality:FINAL flags:[val]
|
||||
FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.Function0<kotlin.Unit> visibility:public flags:[final,static]
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
GET_OBJECT 'Unit' type=kotlin.Unit
|
||||
FUNCTION_REFERENCE '<anonymous>(): Unit' type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> () returnType:kotlin.Function0<kotlin.Unit> flags:
|
||||
correspondingProperty: PROPERTY name:test2 visibility:public modality:FINAL flags:val
|
||||
RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]'
|
||||
GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=kotlin.Unit
|
||||
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]' type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> () returnType:kotlin.Function0<kotlin.Unit> flags:[]
|
||||
correspondingProperty: PROPERTY name:test2 visibility:public modality:FINAL flags:[val]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): () -> Unit'
|
||||
GET_FIELD 'test2: () -> Unit' type=kotlin.Function0<kotlin.Unit> origin=null
|
||||
RETURN type=kotlin.Nothing from='FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> () returnType:kotlin.Function0<kotlin.Unit> flags:[]'
|
||||
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.Function0<kotlin.Unit> visibility:public flags:[final,static]' type=kotlin.Function0<kotlin.Unit> origin=null
|
||||
|
||||
+11
-12
@@ -1,18 +1,17 @@
|
||||
FILE fqName:<root> fileName:/localFunction.kt
|
||||
FUN name:outer visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
FUN name:outer visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
BLOCK_BODY
|
||||
VAR name:x type:kotlin.Int flags:var
|
||||
VAR name:x type:kotlin.Int flags:[var]
|
||||
CONST Int type=kotlin.Int value=0
|
||||
FUN name:local visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
FUN name:local visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
BLOCK_BODY
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]
|
||||
BLOCK type=kotlin.Int origin=POSTFIX_INCR
|
||||
VAR IR_TEMPORARY_VARIABLE name:tmp0 type:kotlin.Int flags:val
|
||||
GET_VAR 'x: Int' type=kotlin.Int origin=POSTFIX_INCR
|
||||
SET_VAR 'x: Int' type=kotlin.Unit origin=POSTFIX_INCR
|
||||
CALL 'inc(): Int' type=kotlin.Int origin=POSTFIX_INCR
|
||||
$this: GET_VAR 'tmp0: Int' type=kotlin.Int origin=null
|
||||
GET_VAR 'tmp0: Int' type=kotlin.Int origin=null
|
||||
CALL 'local(): Unit' type=kotlin.Unit origin=null
|
||||
|
||||
VAR IR_TEMPORARY_VARIABLE name:tmp0 type:kotlin.Int flags:[val]
|
||||
GET_VAR 'VAR name:x type:kotlin.Int flags:[var]' type=kotlin.Int origin=POSTFIX_INCR
|
||||
SET_VAR 'VAR name:x type:kotlin.Int flags:[var]' type=kotlin.Unit origin=POSTFIX_INCR
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:inc visibility:public modality:FINAL <> ($this:kotlin.Int) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=POSTFIX_INCR
|
||||
$this: GET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp0 type:kotlin.Int flags:[val]' type=kotlin.Int origin=null
|
||||
GET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp0 type:kotlin.Int flags:[val]' type=kotlin.Int origin=null
|
||||
CALL 'FUN name:local visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
|
||||
|
||||
@@ -1,124 +1,124 @@
|
||||
FILE fqName:<root> fileName:/multipleImplicitReceivers.kt
|
||||
CLASS OBJECT name:A modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:A flags:
|
||||
CONSTRUCTOR visibility:private <> () returnType:A flags:primary
|
||||
CLASS OBJECT name:A modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.A flags:[]
|
||||
CONSTRUCTOR visibility:private <> () returnType:<root>.A flags:[primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='A'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
||||
DELEGATING_CONSTRUCTOR_CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.Any flags:[primary]'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS OBJECT name:A modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]
|
||||
overridden:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:[]
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]
|
||||
overridden:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:[]
|
||||
overridden:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
CLASS OBJECT name:B modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:B flags:
|
||||
CONSTRUCTOR visibility:private <> () returnType:B flags:primary
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
|
||||
CLASS OBJECT name:B modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.B flags:[]
|
||||
CONSTRUCTOR visibility:private <> () returnType:<root>.B flags:[primary]
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='B'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
||||
DELEGATING_CONSTRUCTOR_CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.Any flags:[primary]'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS OBJECT name:B modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]'
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]
|
||||
overridden:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:[]
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]
|
||||
overridden:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:[]
|
||||
overridden:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
CLASS INTERFACE name:IFoo modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:IFoo flags:
|
||||
PROPERTY name:foo visibility:public modality:OPEN flags:val
|
||||
FUN name:<get-foo> visibility:public modality:OPEN <> ($this:IFoo, $receiver:A) returnType:B flags:
|
||||
correspondingProperty: PROPERTY name:foo visibility:public modality:OPEN flags:val
|
||||
$this: VALUE_PARAMETER name:<this> type:IFoo flags:
|
||||
$receiver: VALUE_PARAMETER name:<this> type:A flags:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
|
||||
CLASS INTERFACE name:IFoo modality:ABSTRACT visibility:public flags:[] superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.IFoo flags:[]
|
||||
PROPERTY name:foo visibility:public modality:OPEN flags:[val]
|
||||
FUN name:<get-foo> visibility:public modality:OPEN <> ($this:<root>.IFoo, $receiver:<root>.A) returnType:<root>.B flags:[]
|
||||
correspondingProperty: PROPERTY name:foo visibility:public modality:OPEN flags:[val]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.IFoo flags:[]
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.A flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-foo>() on A: B'
|
||||
GET_OBJECT 'B' type=B
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
||||
RETURN type=kotlin.Nothing from='FUN name:<get-foo> visibility:public modality:OPEN <> ($this:<root>.IFoo, $receiver:<root>.A) returnType:<root>.B flags:[]'
|
||||
GET_OBJECT 'CLASS OBJECT name:B modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.B
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]
|
||||
overridden:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:[]
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]
|
||||
overridden:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:[]
|
||||
overridden:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
CLASS INTERFACE name:IInvoke modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:IInvoke flags:
|
||||
FUN name:invoke visibility:public modality:OPEN <> ($this:IInvoke, $receiver:B) returnType:kotlin.Int flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:IInvoke flags:
|
||||
$receiver: VALUE_PARAMETER name:<this> type:B flags:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
|
||||
CLASS INTERFACE name:IInvoke modality:ABSTRACT visibility:public flags:[] superTypes:[kotlin.Any]
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.IInvoke flags:[]
|
||||
FUN name:invoke visibility:public modality:OPEN <> ($this:<root>.IInvoke, $receiver:<root>.B) returnType:kotlin.Int flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:<root>.IInvoke flags:[]
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.B flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='invoke() on B: Int'
|
||||
RETURN type=kotlin.Nothing from='FUN name:invoke visibility:public modality:OPEN <> ($this:<root>.IInvoke, $receiver:<root>.B) returnType:kotlin.Int flags:[]'
|
||||
CONST Int type=kotlin.Int value=42
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
||||
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]
|
||||
overridden:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
|
||||
VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:[]
|
||||
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]
|
||||
overridden:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
|
||||
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:[]
|
||||
overridden:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
FUN name:test visibility:public modality:FINAL <> (fooImpl:IFoo, invokeImpl:IInvoke) returnType:kotlin.Unit flags:
|
||||
VALUE_PARAMETER name:fooImpl index:0 type:IFoo flags:
|
||||
VALUE_PARAMETER name:invokeImpl index:1 type:IInvoke flags:
|
||||
FUN IR_EXTERNAL_DECLARATION_STUB name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:[]
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:[]
|
||||
FUN name:test visibility:public modality:FINAL <> (fooImpl:<root>.IFoo, invokeImpl:<root>.IInvoke) returnType:kotlin.Unit flags:[]
|
||||
VALUE_PARAMETER name:fooImpl index:0 type:<root>.IFoo flags:[]
|
||||
VALUE_PARAMETER name:invokeImpl index:1 type:<root>.IInvoke flags:[]
|
||||
BLOCK_BODY
|
||||
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
|
||||
CALL 'with(T, T.() -> R): R' type=kotlin.Int origin=null
|
||||
<T>: A
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:with visibility:public modality:FINAL <T, R> (receiver:kotlin.with.T, block:@[CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.ExtensionFunctionType flags:[primary]' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<kotlin.with.T, kotlin.with.R>) returnType:kotlin.with.R flags:[inline]' type=kotlin.Int origin=null
|
||||
<T>: <root>.A
|
||||
<R>: kotlin.Int
|
||||
receiver: GET_OBJECT 'A' type=A
|
||||
block: BLOCK type=@[CALL 'constructor ExtensionFunctionType()' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<A, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:A) returnType:kotlin.Int flags:
|
||||
$receiver: VALUE_PARAMETER name:<this> type:A flags:
|
||||
receiver: GET_OBJECT 'CLASS OBJECT name:A modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=<root>.A
|
||||
block: BLOCK type=@[CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.ExtensionFunctionType flags:[primary]' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<<root>.A, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.A) returnType:kotlin.Int flags:[]
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.A flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>() on A: Int'
|
||||
CALL 'with(T, T.() -> R): R' type=kotlin.Int origin=null
|
||||
<T>: IFoo
|
||||
RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.A) returnType:kotlin.Int flags:[]'
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:with visibility:public modality:FINAL <T, R> (receiver:kotlin.with.T, block:@[CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.ExtensionFunctionType flags:[primary]' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<kotlin.with.T, kotlin.with.R>) returnType:kotlin.with.R flags:[inline]' type=kotlin.Int origin=null
|
||||
<T>: <root>.IFoo
|
||||
<R>: kotlin.Int
|
||||
receiver: GET_VAR 'value-parameter fooImpl: IFoo' type=IFoo origin=null
|
||||
block: BLOCK type=@[CALL 'constructor ExtensionFunctionType()' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<IFoo, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:IFoo) returnType:kotlin.Int flags:
|
||||
$receiver: VALUE_PARAMETER name:<this> type:IFoo flags:
|
||||
receiver: GET_VAR 'VALUE_PARAMETER name:fooImpl index:0 type:<root>.IFoo flags:[]' type=<root>.IFoo origin=null
|
||||
block: BLOCK type=@[CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.ExtensionFunctionType flags:[primary]' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<<root>.IFoo, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.IFoo) returnType:kotlin.Int flags:[]
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.IFoo flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>() on IFoo: Int'
|
||||
CALL 'with(T, T.() -> R): R' type=kotlin.Int origin=null
|
||||
<T>: IInvoke
|
||||
RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.IFoo) returnType:kotlin.Int flags:[]'
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:with visibility:public modality:FINAL <T, R> (receiver:kotlin.with.T, block:@[CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.ExtensionFunctionType flags:[primary]' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<kotlin.with.T, kotlin.with.R>) returnType:kotlin.with.R flags:[inline]' type=kotlin.Int origin=null
|
||||
<T>: <root>.IInvoke
|
||||
<R>: kotlin.Int
|
||||
receiver: GET_VAR 'value-parameter invokeImpl: IInvoke' type=IInvoke origin=null
|
||||
block: BLOCK type=@[CALL 'constructor ExtensionFunctionType()' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<IInvoke, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:IInvoke) returnType:kotlin.Int flags:
|
||||
$receiver: VALUE_PARAMETER name:<this> type:IInvoke flags:
|
||||
receiver: GET_VAR 'VALUE_PARAMETER name:invokeImpl index:1 type:<root>.IInvoke flags:[]' type=<root>.IInvoke origin=null
|
||||
block: BLOCK type=@[CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.ExtensionFunctionType flags:[primary]' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<<root>.IInvoke, kotlin.Int> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.IInvoke) returnType:kotlin.Int flags:[]
|
||||
$receiver: VALUE_PARAMETER name:<this> type:<root>.IInvoke flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>() on IInvoke: Int'
|
||||
CALL 'invoke() on B: Int' type=kotlin.Int origin=INVOKE
|
||||
$this: GET_VAR 'this@<anonymous>: IInvoke' type=IInvoke origin=null
|
||||
$receiver: CALL '<get-foo>() on A: B' type=B origin=GET_PROPERTY
|
||||
$this: GET_VAR 'this@<anonymous>: IFoo' type=IFoo origin=null
|
||||
$receiver: GET_VAR 'this@<anonymous>: A' type=A origin=null
|
||||
FUNCTION_REFERENCE '<anonymous>() on IInvoke: Int' type=@[CALL 'constructor ExtensionFunctionType()' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<IInvoke, kotlin.Int> origin=LAMBDA
|
||||
FUNCTION_REFERENCE '<anonymous>() on IFoo: Int' type=@[CALL 'constructor ExtensionFunctionType()' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<IFoo, kotlin.Int> origin=LAMBDA
|
||||
FUNCTION_REFERENCE '<anonymous>() on A: Int' type=@[CALL 'constructor ExtensionFunctionType()' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<A, kotlin.Int> origin=LAMBDA
|
||||
RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.IInvoke) returnType:kotlin.Int flags:[]'
|
||||
CALL 'FUN name:invoke visibility:public modality:OPEN <> ($this:<root>.IInvoke, $receiver:<root>.B) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=INVOKE
|
||||
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.IInvoke flags:[]' type=<root>.IInvoke origin=null
|
||||
$receiver: CALL 'FUN name:<get-foo> visibility:public modality:OPEN <> ($this:<root>.IFoo, $receiver:<root>.A) returnType:<root>.B flags:[]' type=<root>.B origin=GET_PROPERTY
|
||||
$this: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.IFoo flags:[]' type=<root>.IFoo origin=null
|
||||
$receiver: GET_VAR 'VALUE_PARAMETER name:<this> type:<root>.A flags:[]' type=<root>.A origin=null
|
||||
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.IInvoke) returnType:kotlin.Int flags:[]' type=@[CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.ExtensionFunctionType flags:[primary]' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<<root>.IInvoke, kotlin.Int> origin=LAMBDA
|
||||
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.IFoo) returnType:kotlin.Int flags:[]' type=@[CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.ExtensionFunctionType flags:[primary]' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<<root>.IFoo, kotlin.Int> origin=LAMBDA
|
||||
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:<root>.A) returnType:kotlin.Int flags:[]' type=@[CALL 'CONSTRUCTOR IR_EXTERNAL_DECLARATION_STUB visibility:public <> () returnType:kotlin.ExtensionFunctionType flags:[primary]' type=kotlin.ExtensionFunctionType origin=null] kotlin.Function1<<root>.A, kotlin.Int> origin=LAMBDA
|
||||
|
||||
+56
-56
@@ -1,90 +1,90 @@
|
||||
FILE fqName:<root> fileName:/nonLocalReturn.kt
|
||||
FUN name:test0 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
FUN name:test0 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
BLOCK_BODY
|
||||
CALL 'run(() -> R): R' type=kotlin.Nothing origin=null
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:run visibility:public modality:FINAL <R> (block:kotlin.Function0<kotlin.run.R>) returnType:kotlin.run.R flags:[inline]' type=kotlin.Nothing origin=null
|
||||
<R>: kotlin.Nothing
|
||||
block: BLOCK type=kotlin.Function0<kotlin.Nothing> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Nothing flags:
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Nothing flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test0(): Unit'
|
||||
GET_OBJECT 'Unit' type=kotlin.Unit
|
||||
FUNCTION_REFERENCE '<anonymous>(): Nothing' type=kotlin.Function0<kotlin.Nothing> origin=LAMBDA
|
||||
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
RETURN type=kotlin.Nothing from='FUN name:test0 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[]'
|
||||
GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=kotlin.Unit
|
||||
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Nothing flags:[]' type=kotlin.Function0<kotlin.Nothing> origin=LAMBDA
|
||||
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
BLOCK_BODY
|
||||
CALL 'run(() -> R): R' type=kotlin.Unit origin=null
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:run visibility:public modality:FINAL <R> (block:kotlin.Function0<kotlin.run.R>) returnType:kotlin.run.R flags:[inline]' type=kotlin.Unit origin=null
|
||||
<R>: kotlin.Unit
|
||||
block: BLOCK type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
GET_OBJECT 'Unit' type=kotlin.Unit
|
||||
FUNCTION_REFERENCE '<anonymous>(): Unit' type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
|
||||
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]'
|
||||
GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=kotlin.Unit
|
||||
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]' type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
|
||||
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
BLOCK_BODY
|
||||
CALL 'run(() -> R): R' type=kotlin.Unit origin=null
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:run visibility:public modality:FINAL <R> (block:kotlin.Function0<kotlin.run.R>) returnType:kotlin.run.R flags:[inline]' type=kotlin.Unit origin=null
|
||||
<R>: kotlin.Unit
|
||||
block: BLOCK type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
GET_OBJECT 'Unit' type=kotlin.Unit
|
||||
FUNCTION_REFERENCE '<anonymous>(): Unit' type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
|
||||
FUN name:test3 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]'
|
||||
GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=kotlin.Unit
|
||||
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]' type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
|
||||
FUN name:test3 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
BLOCK_BODY
|
||||
CALL 'run(() -> R): R' type=kotlin.Unit origin=null
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:run visibility:public modality:FINAL <R> (block:kotlin.Function0<kotlin.run.R>) returnType:kotlin.run.R flags:[inline]' type=kotlin.Unit origin=null
|
||||
<R>: kotlin.Unit
|
||||
block: BLOCK type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
CALL 'run(() -> R): R' type=kotlin.Nothing origin=null
|
||||
RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]'
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:run visibility:public modality:FINAL <R> (block:kotlin.Function0<kotlin.run.R>) returnType:kotlin.run.R flags:[inline]' type=kotlin.Nothing origin=null
|
||||
<R>: kotlin.Nothing
|
||||
block: BLOCK type=kotlin.Function0<kotlin.Nothing> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Nothing flags:
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Nothing flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
GET_OBJECT 'Unit' type=kotlin.Unit
|
||||
FUNCTION_REFERENCE '<anonymous>(): Nothing' type=kotlin.Function0<kotlin.Nothing> origin=LAMBDA
|
||||
FUNCTION_REFERENCE '<anonymous>(): Unit' type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
|
||||
FUN name:testLrmFoo1 visibility:public modality:FINAL <> (ints:kotlin.collections.List<kotlin.Int>) returnType:kotlin.Unit flags:
|
||||
VALUE_PARAMETER name:ints index:0 type:kotlin.collections.List<kotlin.Int> flags:
|
||||
RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]'
|
||||
GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=kotlin.Unit
|
||||
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Nothing flags:[]' type=kotlin.Function0<kotlin.Nothing> origin=LAMBDA
|
||||
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]' type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
|
||||
FUN name:testLrmFoo1 visibility:public modality:FINAL <> (ints:kotlin.collections.List<kotlin.Int>) returnType:kotlin.Unit flags:[]
|
||||
VALUE_PARAMETER name:ints index:0 type:kotlin.collections.List<kotlin.Int> flags:[]
|
||||
BLOCK_BODY
|
||||
CALL 'forEach((T) -> Unit) on Iterable<T>: Unit' type=kotlin.Unit origin=null
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:forEach visibility:public modality:FINAL <T> ($receiver:kotlin.collections.Iterable<kotlin.collections.forEach.T>, action:kotlin.Function1<kotlin.collections.forEach.T, kotlin.Unit>) returnType:kotlin.Unit flags:[inline]' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.Int
|
||||
$receiver: GET_VAR 'value-parameter ints: List<Int>' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
$receiver: GET_VAR 'VALUE_PARAMETER name:ints index:0 type:kotlin.collections.List<kotlin.Int> flags:[]' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
action: BLOCK type=kotlin.Function1<kotlin.Int, kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Unit flags:
|
||||
VALUE_PARAMETER name:it index:0 type:kotlin.Int flags:
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Unit flags:[]
|
||||
VALUE_PARAMETER name:it index:0 type:kotlin.Int flags:[]
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: GET_VAR 'value-parameter it: Int' type=kotlin.Int origin=null
|
||||
if: CALL 'FUN IR_BUILTINS_STUB name:EQEQ visibility:public modality:FINAL <> (arg0:kotlin.Any?, arg1:kotlin.Any?) returnType:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: GET_VAR 'VALUE_PARAMETER name:it index:0 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
arg1: CONST Int type=kotlin.Int value=0
|
||||
then: RETURN type=kotlin.Nothing from='<anonymous>(Int): Unit'
|
||||
GET_OBJECT 'Unit' type=kotlin.Unit
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(Int): Unit'
|
||||
CALL 'print(Int): Unit' type=kotlin.Unit origin=null
|
||||
message: GET_VAR 'value-parameter it: Int' type=kotlin.Int origin=null
|
||||
FUNCTION_REFERENCE '<anonymous>(Int): Unit' type=kotlin.Function1<kotlin.Int, kotlin.Unit> origin=LAMBDA
|
||||
FUN name:testLrmFoo2 visibility:public modality:FINAL <> (ints:kotlin.collections.List<kotlin.Int>) returnType:kotlin.Unit flags:
|
||||
VALUE_PARAMETER name:ints index:0 type:kotlin.collections.List<kotlin.Int> flags:
|
||||
then: RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Unit flags:[]'
|
||||
GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=kotlin.Unit
|
||||
RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Unit flags:[]'
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:print visibility:public modality:FINAL <> (message:kotlin.Int) returnType:kotlin.Unit flags:[inline]' type=kotlin.Unit origin=null
|
||||
message: GET_VAR 'VALUE_PARAMETER name:it index:0 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Function1<kotlin.Int, kotlin.Unit> origin=LAMBDA
|
||||
FUN name:testLrmFoo2 visibility:public modality:FINAL <> (ints:kotlin.collections.List<kotlin.Int>) returnType:kotlin.Unit flags:[]
|
||||
VALUE_PARAMETER name:ints index:0 type:kotlin.collections.List<kotlin.Int> flags:[]
|
||||
BLOCK_BODY
|
||||
CALL 'forEach((T) -> Unit) on Iterable<T>: Unit' type=kotlin.Unit origin=null
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:forEach visibility:public modality:FINAL <T> ($receiver:kotlin.collections.Iterable<kotlin.collections.forEach.T>, action:kotlin.Function1<kotlin.collections.forEach.T, kotlin.Unit>) returnType:kotlin.Unit flags:[inline]' type=kotlin.Unit origin=null
|
||||
<T>: kotlin.Int
|
||||
$receiver: GET_VAR 'value-parameter ints: List<Int>' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
$receiver: GET_VAR 'VALUE_PARAMETER name:ints index:0 type:kotlin.collections.List<kotlin.Int> flags:[]' type=kotlin.collections.List<kotlin.Int> origin=null
|
||||
action: BLOCK type=kotlin.Function1<kotlin.Int, kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Unit flags:
|
||||
VALUE_PARAMETER name:it index:0 type:kotlin.Int flags:
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Unit flags:[]
|
||||
VALUE_PARAMETER name:it index:0 type:kotlin.Int flags:[]
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: GET_VAR 'value-parameter it: Int' type=kotlin.Int origin=null
|
||||
if: CALL 'FUN IR_BUILTINS_STUB name:EQEQ visibility:public modality:FINAL <> (arg0:kotlin.Any?, arg1:kotlin.Any?) returnType:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: GET_VAR 'VALUE_PARAMETER name:it index:0 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
arg1: CONST Int type=kotlin.Int value=0
|
||||
then: RETURN type=kotlin.Nothing from='<anonymous>(Int): Unit'
|
||||
GET_OBJECT 'Unit' type=kotlin.Unit
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(Int): Unit'
|
||||
CALL 'print(Int): Unit' type=kotlin.Unit origin=null
|
||||
message: GET_VAR 'value-parameter it: Int' type=kotlin.Int origin=null
|
||||
FUNCTION_REFERENCE '<anonymous>(Int): Unit' type=kotlin.Function1<kotlin.Int, kotlin.Unit> origin=LAMBDA
|
||||
then: RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Unit flags:[]'
|
||||
GET_OBJECT 'CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]' type=kotlin.Unit
|
||||
RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Unit flags:[]'
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:print visibility:public modality:FINAL <> (message:kotlin.Int) returnType:kotlin.Unit flags:[inline]' type=kotlin.Unit origin=null
|
||||
message: GET_VAR 'VALUE_PARAMETER name:it index:0 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Function1<kotlin.Int, kotlin.Unit> origin=LAMBDA
|
||||
|
||||
+9
-9
@@ -1,15 +1,15 @@
|
||||
FILE fqName:<root> fileName:/samAdapter.kt
|
||||
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
BLOCK_BODY
|
||||
VAR name:hello type:java.lang.Runnable flags:val
|
||||
VAR name:hello type:java.lang.Runnable flags:[val]
|
||||
TYPE_OP type=java.lang.Runnable origin=SAM_CONVERSION typeOperand=java.lang.Runnable
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB INTERFACE name:Runnable modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any]
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB INTERFACE name:Runnable modality:ABSTRACT visibility:public flags:[] superTypes:[kotlin.Any]
|
||||
BLOCK type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
RETURN type=kotlin.Nothing from='FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]'
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:println visibility:public modality:FINAL <> (message:kotlin.Any?) returnType:kotlin.Unit flags:[inline]' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value="Hello, world!"
|
||||
FUNCTION_REFERENCE '<anonymous>(): Unit' type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
|
||||
CALL 'run(): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'hello: Runnable' type=java.lang.Runnable origin=null
|
||||
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Unit flags:[]' type=kotlin.Function0<kotlin.Unit> origin=LAMBDA
|
||||
CALL 'FUN IR_EXTERNAL_JAVA_DECLARATION_STUB name:run visibility:public modality:ABSTRACT <> ($this:java.lang.Runnable) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR 'VAR name:hello type:java.lang.Runnable flags:[val]' type=java.lang.Runnable origin=null
|
||||
|
||||
Reference in New Issue
Block a user