Minor: add missing "'"

This commit is contained in:
Dmitry Petrov
2018-01-16 16:49:03 +03:00
parent bba8168150
commit 6cb68531ae
156 changed files with 683 additions and 682 deletions
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/argumentMappedWithError.kt
TYPE_PARAMETER name:R index:0 variance: upperBounds:[kotlin.Number]
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Number flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=convert() on Number: R'
RETURN type=kotlin.Nothing from='convert() on Number: R'
CALL 'TODO(): Nothing' type=kotlin.Nothing origin=null
FUN name:foo visibility:public modality:FINAL <> (arg:kotlin.Number) returnType:Unit flags:
VALUE_PARAMETER name:arg index:0 type:kotlin.Number flags:
+3 -3
View File
@@ -5,16 +5,16 @@ FILE fqName:<root> fileName:/arrayAccess.kt
CONST Int type=kotlin.Int value=0
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-p> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-p>(): Int'
RETURN type=kotlin.Nothing from='<get-p>(): Int'
GET_FIELD 'p: Int' type=kotlin.Int origin=null
FUN name:foo visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=foo(): Int'
RETURN type=kotlin.Nothing from='foo(): Int'
CONST Int type=kotlin.Int value=1
FUN name:test visibility:public modality:FINAL <> (a:kotlin.IntArray) returnType:Int flags:
VALUE_PARAMETER name:a index:0 type:kotlin.IntArray flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test(IntArray): Int'
RETURN type=kotlin.Nothing from='test(IntArray): Int'
CALL 'plus(Int): Int' type=kotlin.Int origin=PLUS
$this: CALL 'plus(Int): Int' type=kotlin.Int origin=PLUS
$this: CALL 'get(Int): Int' type=kotlin.Int origin=GET_ARRAY_ELEMENT
@@ -13,7 +13,7 @@ FILE fqName:<root> fileName:/arrayAssignment.kt
value: CONST Int type=kotlin.Int value=0
FUN name:foo visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=foo(): Int'
RETURN type=kotlin.Nothing from='foo(): Int'
CONST Int type=kotlin.Int value=1
FUN name:test2 visibility:public modality:FINAL <> () returnType:Unit flags:
BLOCK_BODY
@@ -1,7 +1,7 @@
FILE fqName:<root> fileName:/arrayAugmentedAssignment1.kt
FUN name:foo visibility:public modality:FINAL <> () returnType:IntArray flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=foo(): IntArray'
RETURN type=kotlin.Nothing from='foo(): IntArray'
CALL 'intArrayOf(vararg Int): IntArray' type=kotlin.IntArray origin=null
elements: VARARG type=IntArray varargElementType=Int
CONST Int type=kotlin.Int value=1
@@ -9,7 +9,7 @@ FILE fqName:<root> fileName:/arrayAugmentedAssignment1.kt
CONST Int type=kotlin.Int value=3
FUN name:bar visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=bar(): Int'
RETURN type=kotlin.Nothing from='bar(): Int'
CONST Int type=kotlin.Int value=42
CLASS CLASS name:C modality:FINAL visibility:public flags:
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:C flags:
@@ -25,7 +25,7 @@ FILE fqName:<root> fileName:/arrayAugmentedAssignment1.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:C) returnType:IntArray flags:
$this: VALUE_PARAMETER name:<this> type:C flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-x>(): IntArray'
RETURN type=kotlin.Nothing from='<get-x>(): IntArray'
GET_FIELD 'x: IntArray' type=kotlin.IntArray origin=null
receiver: GET_VAR 'this@C: C' type=C origin=null
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
+1 -1
View File
@@ -13,7 +13,7 @@ FILE fqName:<root> fileName:/assignments.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:Ref) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:Ref flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-x>(): Int'
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@Ref: Ref' type=Ref origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-x> visibility:public modality:FINAL <> ($this:Ref, <set-?>:kotlin.Int) returnType:Unit flags:
@@ -5,7 +5,7 @@ FILE fqName:<root> fileName:/augmentedAssignment1.kt
CONST Int type=kotlin.Int value=0
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-p> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-p>(): Int'
RETURN type=kotlin.Nothing from='<get-p>(): Int'
GET_FIELD 'p: Int' type=kotlin.Int origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-p> visibility:public modality:FINAL <> (<set-?>:kotlin.Int) returnType:Unit flags:
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
@@ -38,7 +38,7 @@ FILE fqName:<root> fileName:/augmentedAssignment2.kt
CALL 'constructor A()' type=A origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-p> visibility:public modality:FINAL <> () returnType:A flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-p>(): A'
RETURN type=kotlin.Nothing from='<get-p>(): A'
GET_FIELD 'p: A' type=A origin=null
FUN name:testVariable visibility:public modality:FINAL <> () returnType:Unit flags:
BLOCK_BODY
@@ -24,7 +24,7 @@ FILE fqName:<root> fileName:/augmentedAssignmentWithExpression.kt
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
FUN name:foo visibility:public modality:FINAL <> () returnType:Host flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=foo(): Host'
RETURN type=kotlin.Nothing from='foo(): Host'
CALL 'constructor Host()' type=Host origin=null
FUN name:test2 visibility:public modality:FINAL <> ($receiver:Host) returnType:Unit flags:
$receiver: VALUE_PARAMETER name:<this> type:Host flags:
+2 -2
View File
@@ -2,7 +2,7 @@ FILE fqName:<root> fileName:/bangbang.kt
FUN name:test1 visibility:public modality:FINAL <> (a:kotlin.Any?) returnType:Any flags:
VALUE_PARAMETER name:a index:0 type:kotlin.Any? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(Any?): Any'
RETURN type=kotlin.Nothing from='test1(Any?): Any'
BLOCK type=kotlin.Any origin=EXCLEXCL
VAR IR_TEMPORARY_VARIABLE name:tmp0_notnull type:kotlin.Any? flags:val
GET_VAR 'value-parameter a: Any?' type=kotlin.Any? origin=null
@@ -18,7 +18,7 @@ FILE fqName:<root> fileName:/bangbang.kt
FUN name:test2 visibility:public modality:FINAL <> (a:kotlin.Any?) returnType:Int flags:
VALUE_PARAMETER name:a index:0 type:kotlin.Any? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(Any?): Int'
RETURN type=kotlin.Nothing from='test2(Any?): Int'
BLOCK type=kotlin.Int origin=EXCLEXCL
VAR IR_TEMPORARY_VARIABLE name:tmp1_notnull type:kotlin.Int? flags:val
BLOCK type=kotlin.Int? origin=SAFE_CALL
@@ -6,7 +6,7 @@ FILE fqName:<root> fileName:/booleanConstsInAndAndOrOr.kt
WHEN type=kotlin.Boolean origin=ANDAND
BRANCH
if: GET_VAR 'value-parameter b: Boolean' type=kotlin.Boolean origin=null
then: RETURN type=kotlin.Nothing from=test1(Boolean): Unit'
then: RETURN type=kotlin.Nothing from='test1(Boolean): Unit'
GET_OBJECT 'Unit' type=kotlin.Unit
BRANCH
if: CONST Boolean type=kotlin.Boolean value=true
@@ -21,6 +21,6 @@ FILE fqName:<root> fileName:/booleanConstsInAndAndOrOr.kt
then: CONST Boolean type=kotlin.Boolean value=true
BRANCH
if: CONST Boolean type=kotlin.Boolean value=true
then: RETURN type=kotlin.Nothing from=test2(Boolean): Unit'
then: RETURN type=kotlin.Nothing from='test2(Boolean): Unit'
GET_OBJECT 'Unit' type=kotlin.Unit
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/booleanOperators.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Boolean flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Boolean flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(Boolean, Boolean): Boolean'
RETURN type=kotlin.Nothing from='test1(Boolean, Boolean): Boolean'
WHEN type=kotlin.Boolean origin=ANDAND
BRANCH
if: GET_VAR 'value-parameter a: Boolean' type=kotlin.Boolean origin=null
@@ -15,7 +15,7 @@ FILE fqName:<root> fileName:/booleanOperators.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Boolean flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Boolean flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(Boolean, Boolean): Boolean'
RETURN type=kotlin.Nothing from='test2(Boolean, Boolean): Boolean'
WHEN type=kotlin.Boolean origin=OROR
BRANCH
if: GET_VAR 'value-parameter a: Boolean' type=kotlin.Boolean origin=null
@@ -27,7 +27,7 @@ FILE fqName:<root> fileName:/booleanOperators.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Boolean flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Boolean flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1x(Boolean, Boolean): Boolean'
RETURN type=kotlin.Nothing from='test1x(Boolean, Boolean): Boolean'
CALL 'and(Boolean): Boolean' type=kotlin.Boolean origin=null
$this: GET_VAR 'value-parameter a: Boolean' type=kotlin.Boolean origin=null
other: GET_VAR 'value-parameter b: Boolean' type=kotlin.Boolean origin=null
@@ -35,7 +35,7 @@ FILE fqName:<root> fileName:/booleanOperators.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Boolean flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Boolean flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2x(Boolean, Boolean): Boolean'
RETURN type=kotlin.Nothing from='test2x(Boolean, Boolean): Boolean'
CALL 'or(Boolean): Boolean' type=kotlin.Boolean origin=null
$this: GET_VAR 'value-parameter a: Boolean' type=kotlin.Boolean origin=null
other: GET_VAR 'value-parameter b: Boolean' type=kotlin.Boolean origin=null
@@ -15,7 +15,7 @@ FILE fqName:<root> fileName:/boundCallableReferences.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-bar> visibility:public modality:FINAL <> ($this:A) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:A flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-bar>(): Int'
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
GET_FIELD 'bar: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@A: A' type=A origin=null
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
@@ -35,7 +35,7 @@ FILE fqName:<root> fileName:/boundCallableReferences.kt
$this: CALL 'constructor A()' type=A origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:KFunction0<Unit> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test1>(): KFunction0<Unit>'
RETURN type=kotlin.Nothing from='<get-test1>(): KFunction0<Unit>'
GET_FIELD 'test1: KFunction0<Unit>' type=kotlin.reflect.KFunction0<kotlin.Unit> origin=null
PROPERTY name:test2 type:kotlin.reflect.KProperty0<kotlin.Int> visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.reflect.KProperty0<kotlin.Int> visibility:public
@@ -44,7 +44,7 @@ FILE fqName:<root> fileName:/boundCallableReferences.kt
$this: CALL 'constructor A()' type=A origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> () returnType:KProperty0<Int> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test2>(): KProperty0<Int>'
RETURN type=kotlin.Nothing from='<get-test2>(): KProperty0<Int>'
GET_FIELD 'test2: KProperty0<Int>' type=kotlin.reflect.KProperty0<kotlin.Int> origin=null
PROPERTY name:test3 type:kotlin.reflect.KFunction0<kotlin.Unit> visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test3 type:kotlin.reflect.KFunction0<kotlin.Unit> visibility:public
@@ -53,6 +53,6 @@ FILE fqName:<root> fileName:/boundCallableReferences.kt
$receiver: CALL 'constructor A()' type=A origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test3> visibility:public modality:FINAL <> () returnType:KFunction0<Unit> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test3>(): KFunction0<Unit>'
RETURN type=kotlin.Nothing from='<get-test3>(): KFunction0<Unit>'
GET_FIELD 'test3: KFunction0<Unit>' type=kotlin.reflect.KFunction0<kotlin.Unit> origin=null
+1 -1
View File
@@ -1,6 +1,6 @@
FILE fqName:<root> fileName:/boxOk.kt
FUN name:box visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=box(): String'
RETURN type=kotlin.Nothing from='box(): String'
CONST String type=kotlin.String value=OK
@@ -5,19 +5,19 @@ FILE fqName:<root> fileName:/callWithReorderedArguments.kt
BLOCK_BODY
FUN name:noReorder1 visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=noReorder1(): Int'
RETURN type=kotlin.Nothing from='noReorder1(): Int'
CONST Int type=kotlin.Int value=1
FUN name:noReorder2 visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=noReorder2(): Int'
RETURN type=kotlin.Nothing from='noReorder2(): Int'
CONST Int type=kotlin.Int value=2
FUN name:reordered1 visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=reordered1(): Int'
RETURN type=kotlin.Nothing from='reordered1(): Int'
CONST Int type=kotlin.Int value=1
FUN name:reordered2 visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=reordered2(): Int'
RETURN type=kotlin.Nothing from='reordered2(): Int'
CONST Int type=kotlin.Int value=2
FUN name:test visibility:public modality:FINAL <> () returnType:Unit flags:
BLOCK_BODY
@@ -16,7 +16,7 @@ FILE fqName:<root> fileName:/callableRefToGenericMember.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-bar> visibility:public modality:FINAL <> ($this:A<T>) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:A<T> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-bar>(): Int'
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
GET_FIELD 'bar: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@A: A<T>' type=A<T> origin=null
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
@@ -32,7 +32,7 @@ FILE fqName:<root> fileName:/callableRefToGenericMember.kt
FUNCTION_REFERENCE 'foo(): Unit' type=kotlin.reflect.KFunction1<A<kotlin.String>, kotlin.Unit> origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:KFunction1<A<String>, Unit> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test1>(): KFunction1<A<String>, Unit>'
RETURN type=kotlin.Nothing from='<get-test1>(): KFunction1<A<String>, Unit>'
GET_FIELD 'test1: KFunction1<A<String>, Unit>' type=kotlin.reflect.KFunction1<A<kotlin.String>, kotlin.Unit> origin=null
PROPERTY name:test2 type:kotlin.reflect.KProperty1<A<kotlin.String>, kotlin.Int> visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.reflect.KProperty1<A<kotlin.String>, kotlin.Int> visibility:public
@@ -40,6 +40,6 @@ FILE fqName:<root> fileName:/callableRefToGenericMember.kt
PROPERTY_REFERENCE 'bar: Int' field=null getter='<get-bar>(): Int' setter=null type=kotlin.reflect.KProperty1<A<kotlin.String>, kotlin.Int> origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> () returnType:KProperty1<A<String>, Int> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test2>(): KProperty1<A<String>, Int>'
RETURN type=kotlin.Nothing from='<get-test2>(): KProperty1<A<String>, Int>'
GET_FIELD 'test2: KProperty1<A<String>, Int>' type=kotlin.reflect.KProperty1<A<kotlin.String>, kotlin.Int> origin=null
@@ -12,13 +12,13 @@ FILE fqName:test fileName:/callableReferenceToImportedFromObject.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-a> visibility:public modality:FINAL <> ($this:test.Foo) returnType:String flags:
$this: VALUE_PARAMETER name:<this> type:test.Foo flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-a>(): String'
RETURN type=kotlin.Nothing from='<get-a>(): String'
GET_FIELD 'a: String' type=kotlin.String origin=null
receiver: GET_VAR 'this@Foo: Foo' type=test.Foo origin=null
FUN name:foo visibility:public modality:FINAL <> ($this:test.Foo) returnType:String flags:
$this: VALUE_PARAMETER name:<this> type:test.Foo flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=foo(): String'
RETURN type=kotlin.Nothing from='foo(): String'
CONST String type=kotlin.String value=
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@@ -34,7 +34,7 @@ FILE fqName:test fileName:/callableReferenceToImportedFromObject.kt
$this: GET_OBJECT 'Foo' type=test.Foo
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:KProperty0<String> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test1>(): KProperty0<String>'
RETURN type=kotlin.Nothing from='<get-test1>(): KProperty0<String>'
GET_FIELD 'test1: KProperty0<String>' type=kotlin.reflect.KProperty0<kotlin.String> origin=null
PROPERTY name:test1a type:kotlin.reflect.KProperty0<kotlin.String> visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test1a type:kotlin.reflect.KProperty0<kotlin.String> visibility:public
@@ -43,7 +43,7 @@ FILE fqName:test fileName:/callableReferenceToImportedFromObject.kt
$this: GET_OBJECT 'Foo' type=test.Foo
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1a> visibility:public modality:FINAL <> () returnType:KProperty0<String> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test1a>(): KProperty0<String>'
RETURN type=kotlin.Nothing from='<get-test1a>(): KProperty0<String>'
GET_FIELD 'test1a: KProperty0<String>' type=kotlin.reflect.KProperty0<kotlin.String> origin=null
PROPERTY name:test2 type:kotlin.reflect.KFunction0<kotlin.String> visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.reflect.KFunction0<kotlin.String> visibility:public
@@ -52,7 +52,7 @@ FILE fqName:test fileName:/callableReferenceToImportedFromObject.kt
$this: GET_OBJECT 'Foo' type=test.Foo
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> () returnType:KFunction0<String> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test2>(): KFunction0<String>'
RETURN type=kotlin.Nothing from='<get-test2>(): KFunction0<String>'
GET_FIELD 'test2: KFunction0<String>' type=kotlin.reflect.KFunction0<kotlin.String> origin=null
PROPERTY name:test2a type:kotlin.reflect.KFunction0<kotlin.String> visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test2a type:kotlin.reflect.KFunction0<kotlin.String> visibility:public
@@ -61,6 +61,6 @@ FILE fqName:test fileName:/callableReferenceToImportedFromObject.kt
$this: GET_OBJECT 'Foo' type=test.Foo
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2a> visibility:public modality:FINAL <> () returnType:KFunction0<String> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test2a>(): KFunction0<String>'
RETURN type=kotlin.Nothing from='<get-test2a>(): KFunction0<String>'
GET_FIELD 'test2a: KFunction0<String>' type=kotlin.reflect.KFunction0<kotlin.String> origin=null
+6 -6
View File
@@ -3,19 +3,19 @@ FILE fqName:<root> fileName:/calls.kt
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:y index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=foo(Int, Int): Int'
RETURN type=kotlin.Nothing from='foo(Int, Int): Int'
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
FUN name:bar visibility:public modality:FINAL <> (x:kotlin.Int) returnType:Int flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=bar(Int): Int'
RETURN type=kotlin.Nothing from='bar(Int): Int'
CALL 'foo(Int, Int): Int' type=kotlin.Int origin=null
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
y: CONST Int type=kotlin.Int value=1
FUN name:qux visibility:public modality:FINAL <> (x:kotlin.Int) returnType:Int flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=qux(Int): Int'
RETURN type=kotlin.Nothing from='qux(Int): Int'
CALL 'foo(Int, Int): Int' type=kotlin.Int origin=null
x: CALL 'foo(Int, Int): Int' type=kotlin.Int origin=null
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
@@ -24,13 +24,13 @@ FILE fqName:<root> fileName:/calls.kt
FUN name:ext1 visibility:public modality:FINAL <> ($receiver:kotlin.Int) returnType:Int flags:
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=ext1() on Int: Int'
RETURN type=kotlin.Nothing from='ext1() on Int: Int'
GET_VAR 'this@ext1: Int' type=kotlin.Int origin=null
FUN name:ext2 visibility:public modality:FINAL <> ($receiver:kotlin.Int, x:kotlin.Int) returnType:Int flags:
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=ext2(Int) on Int: Int'
RETURN type=kotlin.Nothing from='ext2(Int) on Int: Int'
CALL 'foo(Int, Int): Int' type=kotlin.Int origin=null
x: GET_VAR 'this@ext2: Int' type=kotlin.Int origin=null
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
@@ -38,7 +38,7 @@ FILE fqName:<root> fileName:/calls.kt
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=ext3(Int) on Int: Int'
RETURN type=kotlin.Nothing from='ext3(Int) on Int: Int'
CALL 'foo(Int, Int): Int' type=kotlin.Int origin=null
x: CALL 'ext1() on Int: Int' type=kotlin.Int origin=null
$receiver: GET_VAR 'this@ext3: Int' type=kotlin.Int origin=null
@@ -2,7 +2,7 @@ FILE fqName:<root> fileName:/catchParameterAccess.kt
FUN name:test visibility:public modality:FINAL <> (f:() -> kotlin.Unit) returnType:Unit flags:
VALUE_PARAMETER name:f index:0 type:() -> kotlin.Unit flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test(() -> Unit): Unit'
RETURN type=kotlin.Nothing from='test(() -> Unit): Unit'
TRY type=kotlin.Unit
try: BLOCK type=kotlin.Unit origin=null
CALL 'invoke(): Unit' type=kotlin.Unit origin=INVOKE
@@ -8,12 +8,12 @@ FILE fqName:<root> fileName:/chainOfSafeCalls.kt
FUN name:foo visibility:public modality:FINAL <> ($this:C) returnType:C flags:
$this: VALUE_PARAMETER name:<this> type:C flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=foo(): C'
RETURN type=kotlin.Nothing from='foo(): C'
GET_VAR 'this@C: C' type=C origin=null
FUN name:bar visibility:public modality:FINAL <> ($this:C) returnType:C? flags:
$this: VALUE_PARAMETER name:<this> type:C flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=bar(): C?'
RETURN type=kotlin.Nothing from='bar(): C?'
GET_VAR 'this@C: C' type=C origin=null
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@@ -25,7 +25,7 @@ FILE fqName:<root> fileName:/chainOfSafeCalls.kt
FUN name:test visibility:public modality:FINAL <> (nc:C?) returnType:C? flags:
VALUE_PARAMETER name:nc index:0 type:C? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test(C?): C?'
RETURN type=kotlin.Nothing from='test(C?): C?'
BLOCK type=C? origin=SAFE_CALL
VAR IR_TEMPORARY_VARIABLE name:tmp3_safe_receiver type:C? flags:val
BLOCK type=C? origin=SAFE_CALL
+2 -2
View File
@@ -5,13 +5,13 @@ FILE fqName:<root> fileName:/coercionToUnit.kt
BLOCK type=() -> kotlin.Unit origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:Unit flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<anonymous>(): Unit'
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
CONST Int type=kotlin.Int value=42
FUNCTION_REFERENCE '<anonymous>(): Unit' type=() -> kotlin.Unit origin=LAMBDA
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:Function0<Unit> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test1>(): () -> Unit'
RETURN type=kotlin.Nothing from='<get-test1>(): () -> Unit'
GET_FIELD 'test1: () -> Unit' type=() -> kotlin.Unit origin=null
FUN name:test2 visibility:public modality:FINAL <> (mc:kotlin.collections.MutableCollection<kotlin.String>) returnType:Unit flags:
VALUE_PARAMETER name:mc index:0 type:kotlin.collections.MutableCollection<kotlin.String> flags:
@@ -12,7 +12,7 @@ FILE fqName:<root> fileName:/complexAugmentedAssignment.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x1> visibility:public modality:FINAL <> ($this:X1) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:X1 flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-x1>(): Int'
RETURN type=kotlin.Nothing from='<get-x1>(): Int'
GET_FIELD 'x1: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@X1: X1' type=X1 origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-x1> visibility:public modality:FINAL <> ($this:X1, <set-?>:kotlin.Int) returnType:Unit flags:
@@ -35,7 +35,7 @@ FILE fqName:<root> fileName:/complexAugmentedAssignment.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x2> visibility:public modality:FINAL <> ($this:X1.X2) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:X1.X2 flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-x2>(): Int'
RETURN type=kotlin.Nothing from='<get-x2>(): Int'
GET_FIELD 'x2: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@X2: X2' type=X1.X2 origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-x2> visibility:public modality:FINAL <> ($this:X1.X2, <set-?>:kotlin.Int) returnType:Unit flags:
@@ -58,7 +58,7 @@ FILE fqName:<root> fileName:/complexAugmentedAssignment.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x3> visibility:public modality:FINAL <> ($this:X1.X2.X3) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:X1.X2.X3 flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-x3>(): Int'
RETURN type=kotlin.Nothing from='<get-x3>(): Int'
GET_FIELD 'x3: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@X3: X3' type=X1.X2.X3 origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-x3> visibility:public modality:FINAL <> ($this:X1.X2.X3, <set-?>:kotlin.Int) returnType:Unit flags:
@@ -173,7 +173,7 @@ FILE fqName:<root> fileName:/complexAugmentedAssignment.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-s> visibility:public modality:FINAL <> ($this:B) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:B flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-s>(): Int'
RETURN type=kotlin.Nothing from='<get-s>(): Int'
GET_FIELD 's: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@B: B' type=B origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-s> visibility:public modality:FINAL <> ($this:B, <set-?>:kotlin.Int) returnType:Unit flags:
+1 -1
View File
@@ -18,6 +18,6 @@ FILE fqName:<root> fileName:/contructorCall.kt
CALL 'constructor A()' type=A origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test> visibility:public modality:FINAL <> () returnType:A flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test>(): A'
RETURN type=kotlin.Nothing from='<get-test>(): A'
GET_FIELD 'test: A' type=A origin=null
@@ -26,7 +26,7 @@ FILE fqName:<root> fileName:/conventionComparisons.kt
VALUE_PARAMETER name:a1 index:0 type:IA flags:
VALUE_PARAMETER name:a2 index:1 type:IA flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(IA, IA) on IB: Boolean'
RETURN type=kotlin.Nothing from='test1(IA, IA) on IB: Boolean'
CALL 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
arg0: CALL 'compareTo(IA) on IA: Int' type=kotlin.Int origin=GT
$this: GET_VAR 'this@test1: IB' type=IB origin=null
@@ -37,7 +37,7 @@ FILE fqName:<root> fileName:/conventionComparisons.kt
VALUE_PARAMETER name:a1 index:0 type:IA flags:
VALUE_PARAMETER name:a2 index:1 type:IA flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(IA, IA) on IB: Boolean'
RETURN type=kotlin.Nothing from='test2(IA, IA) on IB: Boolean'
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean origin=GTEQ
arg0: CALL 'compareTo(IA) on IA: Int' type=kotlin.Int origin=GTEQ
$this: GET_VAR 'this@test2: IB' type=IB origin=null
@@ -48,7 +48,7 @@ FILE fqName:<root> fileName:/conventionComparisons.kt
VALUE_PARAMETER name:a1 index:0 type:IA flags:
VALUE_PARAMETER name:a2 index:1 type:IA flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test3(IA, IA) on IB: Boolean'
RETURN type=kotlin.Nothing from='test3(IA, IA) on IB: Boolean'
CALL 'LT0(Int): Boolean' type=kotlin.Boolean origin=LT
arg0: CALL 'compareTo(IA) on IA: Int' type=kotlin.Int origin=LT
$this: GET_VAR 'this@test3: IB' type=IB origin=null
@@ -59,7 +59,7 @@ FILE fqName:<root> fileName:/conventionComparisons.kt
VALUE_PARAMETER name:a1 index:0 type:IA flags:
VALUE_PARAMETER name:a2 index:1 type:IA flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test4(IA, IA) on IB: Boolean'
RETURN type=kotlin.Nothing from='test4(IA, IA) on IB: Boolean'
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean origin=LTEQ
arg0: CALL 'compareTo(IA) on IA: Int' type=kotlin.Int origin=LTEQ
$this: GET_VAR 'this@test4: IB' type=IB origin=null
+2 -2
View File
@@ -22,13 +22,13 @@ FILE fqName:<root> fileName:/destructuring1.kt
$this: VALUE_PARAMETER name:<this> type:B flags:
$receiver: VALUE_PARAMETER name:<this> type:A flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=component1() on A: Int'
RETURN type=kotlin.Nothing from='component1() on A: Int'
CONST Int type=kotlin.Int value=1
FUN name:component2 visibility:public modality:FINAL <> ($this:B, $receiver:A) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:B flags:
$receiver: VALUE_PARAMETER name:<this> type:A flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=component2() on A: Int'
RETURN type=kotlin.Nothing from='component2() on A: Int'
CONST Int type=kotlin.Int value=2
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@@ -22,19 +22,19 @@ FILE fqName:<root> fileName:/destructuringWithUnderscore.kt
$this: VALUE_PARAMETER name:<this> type:B flags:
$receiver: VALUE_PARAMETER name:<this> type:A flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=component1() on A: Int'
RETURN type=kotlin.Nothing from='component1() on A: Int'
CONST Int type=kotlin.Int value=1
FUN name:component2 visibility:public modality:FINAL <> ($this:B, $receiver:A) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:B flags:
$receiver: VALUE_PARAMETER name:<this> type:A flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=component2() on A: Int'
RETURN type=kotlin.Nothing from='component2() on A: Int'
CONST Int type=kotlin.Int value=2
FUN name:component3 visibility:public modality:FINAL <> ($this:B, $receiver:A) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:B flags:
$receiver: VALUE_PARAMETER name:<this> type:A flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=component3() on A: Int'
RETURN type=kotlin.Nothing from='component3() on A: Int'
CONST Int type=kotlin.Int value=3
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
+2 -2
View File
@@ -2,13 +2,13 @@ FILE fqName:<root> fileName:/dotQualified.kt
FUN name:length visibility:public modality:FINAL <> (s:kotlin.String) returnType:Int flags:
VALUE_PARAMETER name:s index:0 type:kotlin.String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=length(String): Int'
RETURN type=kotlin.Nothing from='length(String): Int'
CALL '<get-length>(): Int' type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR 'value-parameter s: String' type=kotlin.String origin=null
FUN name:lengthN visibility:public modality:FINAL <> (s:kotlin.String?) returnType:Int? flags:
VALUE_PARAMETER name:s index:0 type:kotlin.String? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=lengthN(String?): Int?'
RETURN type=kotlin.Nothing from='lengthN(String?): Int?'
BLOCK type=kotlin.Int? origin=SAFE_CALL
VAR IR_TEMPORARY_VARIABLE name:tmp0_safe_receiver type:kotlin.String? flags:val
GET_VAR 'value-parameter s: String?' type=kotlin.String? origin=null
+9 -9
View File
@@ -5,17 +5,17 @@ FILE fqName:<root> fileName:/elvis.kt
CONST Null type=kotlin.Nothing? value=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-p> visibility:public modality:FINAL <> () returnType:Any? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-p>(): Any?'
RETURN type=kotlin.Nothing from='<get-p>(): Any?'
GET_FIELD 'p: Any?' type=kotlin.Any? origin=null
FUN name:foo visibility:public modality:FINAL <> () returnType:Any? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=foo(): Any?'
RETURN type=kotlin.Nothing from='foo(): Any?'
CONST Null type=kotlin.Nothing? value=null
FUN name:test1 visibility:public modality:FINAL <> (a:kotlin.Any?, b:kotlin.Any) returnType:Any flags:
VALUE_PARAMETER name:a index:0 type:kotlin.Any? flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Any flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(Any?, Any): Any'
RETURN type=kotlin.Nothing from='test1(Any?, Any): Any'
BLOCK type=kotlin.Any origin=ELVIS
VAR IR_TEMPORARY_VARIABLE name:tmp0_elvis_lhs type:kotlin.Any? flags:val
GET_VAR 'value-parameter a: Any?' type=kotlin.Any? origin=null
@@ -32,7 +32,7 @@ FILE fqName:<root> fileName:/elvis.kt
VALUE_PARAMETER name:a index:0 type:kotlin.String? flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Any flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(String?, Any): Any'
RETURN type=kotlin.Nothing from='test2(String?, Any): Any'
BLOCK type=kotlin.Any origin=ELVIS
VAR IR_TEMPORARY_VARIABLE name:tmp0_elvis_lhs type:kotlin.String? flags:val
GET_VAR 'value-parameter a: String?' type=kotlin.String? origin=null
@@ -53,15 +53,15 @@ FILE fqName:<root> fileName:/elvis.kt
BRANCH
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.String
GET_VAR 'value-parameter b: Any?' type=kotlin.Any? origin=null
then: RETURN type=kotlin.Nothing from=test3(Any?, Any?): String'
then: RETURN type=kotlin.Nothing from='test3(Any?, Any?): String'
CONST String type=kotlin.String value=
WHEN type=kotlin.Unit origin=null
BRANCH
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.String?
GET_VAR 'value-parameter a: Any?' type=kotlin.Any? origin=null
then: RETURN type=kotlin.Nothing from=test3(Any?, Any?): String'
then: RETURN type=kotlin.Nothing from='test3(Any?, Any?): String'
CONST String type=kotlin.String value=
RETURN type=kotlin.Nothing from=test3(Any?, Any?): String'
RETURN type=kotlin.Nothing from='test3(Any?, Any?): String'
BLOCK type=kotlin.String origin=ELVIS
VAR IR_TEMPORARY_VARIABLE name:tmp0_elvis_lhs type:kotlin.Any? flags:val
GET_VAR 'value-parameter a: Any?' type=kotlin.Any? origin=null
@@ -79,7 +79,7 @@ FILE fqName:<root> fileName:/elvis.kt
FUN name:test4 visibility:public modality:FINAL <> (x:kotlin.Any) returnType:Any flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Any flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test4(Any): Any'
RETURN type=kotlin.Nothing from='test4(Any): Any'
BLOCK type=kotlin.Any origin=ELVIS
VAR IR_TEMPORARY_VARIABLE name:tmp0_elvis_lhs type:kotlin.Any? flags:val
CALL '<get-p>(): Any?' type=kotlin.Any? origin=GET_PROPERTY
@@ -95,7 +95,7 @@ FILE fqName:<root> fileName:/elvis.kt
FUN name:test5 visibility:public modality:FINAL <> (x:kotlin.Any) returnType:Any flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Any flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test5(Any): Any'
RETURN type=kotlin.Nothing from='test5(Any): Any'
BLOCK type=kotlin.Any origin=ELVIS
VAR IR_TEMPORARY_VARIABLE name:tmp0_elvis_lhs type:kotlin.Any? flags:val
CALL 'foo(): Any?' type=kotlin.Any? origin=null
@@ -21,7 +21,7 @@ FILE fqName:<root> fileName:/enumEntryAsReceiver.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-value2> visibility:public modality:FINAL <> ($this:X.B) returnType:String flags:
$this: VALUE_PARAMETER name:<this> type:X.B flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-value2>(): String'
RETURN type=kotlin.Nothing from='<get-value2>(): String'
GET_FIELD 'value2: String' type=kotlin.String origin=null
receiver: GET_VAR 'this@B: B' type=X.B origin=null
PROPERTY name:value type:() -> kotlin.String visibility:public modality:OPEN flags:val
@@ -30,14 +30,14 @@ FILE fqName:<root> fileName:/enumEntryAsReceiver.kt
BLOCK type=() -> kotlin.String origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<anonymous>(): String'
RETURN type=kotlin.Nothing from='<anonymous>(): String'
CALL '<get-value2>(): String' type=kotlin.String origin=GET_PROPERTY
$this: GET_ENUM 'B' type=X.B
FUNCTION_REFERENCE '<anonymous>(): String' type=() -> kotlin.String origin=LAMBDA
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-value> visibility:public modality:OPEN <> ($this:X.B) returnType:Function0<String> flags:
$this: VALUE_PARAMETER name:<this> type:X.B flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-value>(): () -> String'
RETURN type=kotlin.Nothing from='<get-value>(): () -> String'
GET_FIELD 'value: () -> String' type=() -> kotlin.String origin=null
receiver: GET_VAR 'this@B: B' type=X.B origin=null
FUN FAKE_OVERRIDE name:clone visibility:protected modality:FINAL <> ($this:kotlin.Enum<X>) returnType:Any flags:
@@ -94,7 +94,7 @@ FILE fqName:<root> fileName:/enumEntryAsReceiver.kt
SYNTHETIC_BODY kind=ENUM_VALUEOF
FUN name:box visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=box(): String'
RETURN type=kotlin.Nothing from='box(): String'
CALL 'invoke(): String' type=kotlin.String origin=INVOKE
$this: CALL '<get-value>(): () -> String' type=() -> kotlin.String origin=GET_PROPERTY
$this: GET_ENUM 'B' type=X
+3 -3
View File
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/equality.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(Int, Int): Boolean'
RETURN type=kotlin.Nothing from='test1(Int, Int): Boolean'
CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
arg0: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
arg1: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
@@ -11,7 +11,7 @@ FILE fqName:<root> fileName:/equality.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(Int, Int): Boolean'
RETURN type=kotlin.Nothing from='test2(Int, Int): Boolean'
CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
arg0: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
@@ -20,7 +20,7 @@ FILE fqName:<root> fileName:/equality.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Any? flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Any? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test3(Any?, Any?): Boolean'
RETURN type=kotlin.Nothing from='test3(Any?, Any?): Boolean'
CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
arg0: GET_VAR 'value-parameter a: Any?' type=kotlin.Any? origin=null
arg1: GET_VAR 'value-parameter b: Any?' type=kotlin.Any? origin=null
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/extFunInvokeAsFun.kt
VALUE_PARAMETER name:receiver index:0 type:kotlin.Any? flags:
VALUE_PARAMETER name:block index:1 type:kotlin.Any?.() -> kotlin.Unit flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=with1(Any?, Any?.() -> Unit): Unit'
RETURN type=kotlin.Nothing from='with1(Any?, Any?.() -> Unit): Unit'
CALL 'invoke(Any?): Unit' type=kotlin.Unit origin=INVOKE
$this: GET_VAR 'value-parameter block: Any?.() -> Unit' type=kotlin.Any?.() -> kotlin.Unit origin=VARIABLE_AS_FUNCTION
p1: GET_VAR 'value-parameter receiver: Any?' type=kotlin.Any? origin=null
@@ -11,7 +11,7 @@ FILE fqName:<root> fileName:/extFunInvokeAsFun.kt
VALUE_PARAMETER name:receiver index:0 type:kotlin.Any? flags:
VALUE_PARAMETER name:block index:1 type:kotlin.Any?.() -> kotlin.Unit flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=with2(Any?, Any?.() -> Unit): Unit'
RETURN type=kotlin.Nothing from='with2(Any?, Any?.() -> Unit): Unit'
CALL 'invoke(Any?): Unit' type=kotlin.Unit origin=INVOKE
$this: GET_VAR 'value-parameter block: Any?.() -> Unit' type=kotlin.Any?.() -> kotlin.Unit origin=VARIABLE_AS_FUNCTION
p1: GET_VAR 'value-parameter receiver: Any?' type=kotlin.Any? origin=null
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/extFunSafeInvoke.kt
VALUE_PARAMETER name:receiver index:0 type:kotlin.Any? flags:
VALUE_PARAMETER name:fn index:1 type:kotlin.Any.(kotlin.Int, kotlin.String) -> kotlin.Unit flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test(Any?, Any.(Int, String) -> Unit): Unit?'
RETURN type=kotlin.Nothing from='test(Any?, Any.(Int, String) -> Unit): Unit?'
BLOCK type=kotlin.Unit? origin=SAFE_CALL
VAR IR_TEMPORARY_VARIABLE name:tmp0_safe_receiver type:kotlin.Any? flags:val
GET_VAR 'value-parameter receiver: Any?' type=kotlin.Any? origin=null
@@ -3,12 +3,12 @@ FILE fqName:<root> fileName:/extensionPropertyGetterCall.kt
FUN name:<get-okext> visibility:public modality:FINAL <> ($receiver:kotlin.String) returnType:String flags:
$receiver: VALUE_PARAMETER name:<this> type:kotlin.String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-okext>() on String: String'
RETURN type=kotlin.Nothing from='<get-okext>() on String: String'
CONST String type=kotlin.String value=OK
FUN name:test5 visibility:public modality:FINAL <> ($receiver:kotlin.String) returnType:String flags:
$receiver: VALUE_PARAMETER name:<this> type:kotlin.String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test5() on String: String'
RETURN type=kotlin.Nothing from='test5() on String: String'
CALL '<get-okext>() on String: String' type=kotlin.String origin=GET_PROPERTY
$receiver: GET_VAR 'this@test5: String' type=kotlin.String origin=null
+2 -2
View File
@@ -5,7 +5,7 @@ FILE fqName:<root> fileName:/field.kt
CONST Int type=kotlin.Int value=0
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-testSimple> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-testSimple>(): Int'
RETURN type=kotlin.Nothing from='<get-testSimple>(): Int'
GET_FIELD 'testSimple: Int' type=kotlin.Int origin=null
FUN name:<set-testSimple> visibility:public modality:FINAL <> (value:kotlin.Int) returnType:Unit flags:
VALUE_PARAMETER name:value index:0 type:kotlin.Int flags:
@@ -18,7 +18,7 @@ FILE fqName:<root> fileName:/field.kt
CONST Int type=kotlin.Int value=0
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-testAugmented> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-testAugmented>(): Int'
RETURN type=kotlin.Nothing from='<get-testAugmented>(): Int'
GET_FIELD 'testAugmented: Int' type=kotlin.Int origin=null
FUN name:<set-testAugmented> visibility:public modality:FINAL <> (value:kotlin.Int) returnType:Unit flags:
VALUE_PARAMETER name:value index:0 type:kotlin.Int flags:
@@ -26,7 +26,7 @@ FILE fqName:<root> fileName:/forWithImplicitReceivers.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-value> visibility:public modality:FINAL <> ($this:IntCell) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:IntCell flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-value>(): Int'
RETURN type=kotlin.Nothing from='<get-value>(): Int'
GET_FIELD 'value: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@IntCell: IntCell' type=IntCell origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-value> visibility:public modality:FINAL <> ($this:IntCell, <set-?>:kotlin.Int) returnType:Unit flags:
@@ -49,14 +49,14 @@ FILE fqName:<root> fileName:/forWithImplicitReceivers.kt
$this: VALUE_PARAMETER name:<this> type:IReceiver flags:
$receiver: VALUE_PARAMETER name:<this> type:FiveTimes flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=iterator() on FiveTimes: IntCell'
RETURN type=kotlin.Nothing from='iterator() on FiveTimes: IntCell'
CALL 'constructor IntCell(Int)' type=IntCell origin=null
value: CONST Int type=kotlin.Int value=5
FUN name:hasNext visibility:public modality:OPEN <> ($this:IReceiver, $receiver:IntCell) returnType:Boolean flags:
$this: VALUE_PARAMETER name:<this> type:IReceiver flags:
$receiver: VALUE_PARAMETER name:<this> type:IntCell flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=hasNext() on IntCell: Boolean'
RETURN type=kotlin.Nothing from='hasNext() on IntCell: Boolean'
CALL 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
arg0: CALL 'compareTo(Int): Int' type=kotlin.Int origin=GT
$this: CALL '<get-value>(): Int' type=kotlin.Int origin=GET_PROPERTY
@@ -66,7 +66,7 @@ FILE fqName:<root> fileName:/forWithImplicitReceivers.kt
$this: VALUE_PARAMETER name:<this> type:IReceiver flags:
$receiver: VALUE_PARAMETER name:<this> type:IntCell flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=next() on IntCell: Int'
RETURN type=kotlin.Nothing from='next() on IntCell: Int'
BLOCK type=kotlin.Int origin=POSTFIX_DECR
VAR IR_TEMPORARY_VARIABLE name:tmp0_this type:IntCell flags:val
GET_VAR 'this@next: IntCell' type=IntCell origin=null
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/genericPropertyCall.kt
FUN name:<get-id> visibility:public modality:FINAL <> ($receiver:T) returnType:T flags:
$receiver: VALUE_PARAMETER name:<this> type:T flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-id>() on T: T'
RETURN type=kotlin.Nothing from='<get-id>() on T: T'
GET_VAR 'this@id: T' type=T origin=null
PROPERTY name:test type:kotlin.String visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test type:kotlin.String visibility:public
@@ -12,6 +12,6 @@ FILE fqName:<root> fileName:/genericPropertyCall.kt
$receiver: CONST String type=kotlin.String value=abc
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test> visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test>(): String'
RETURN type=kotlin.Nothing from='<get-test>(): String'
GET_FIELD 'test: String' type=kotlin.String origin=null
+3 -3
View File
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/identity.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(Int, Int): Boolean'
RETURN type=kotlin.Nothing from='test1(Int, Int): Boolean'
CALL 'EQEQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQEQ
arg0: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
arg1: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
@@ -11,7 +11,7 @@ FILE fqName:<root> fileName:/identity.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(Int, Int): Boolean'
RETURN type=kotlin.Nothing from='test2(Int, Int): Boolean'
CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQEQ
arg0: CALL 'EQEQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQEQ
arg0: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
@@ -20,7 +20,7 @@ FILE fqName:<root> fileName:/identity.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Any? flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Any? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test3(Any?, Any?): Boolean'
RETURN type=kotlin.Nothing from='test3(Any?, Any?): Boolean'
CALL 'EQEQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQEQ
arg0: GET_VAR 'value-parameter a: Any?' type=kotlin.Any? origin=null
arg1: GET_VAR 'value-parameter b: Any?' type=kotlin.Any? origin=null
+1 -1
View File
@@ -2,7 +2,7 @@ FILE fqName:<root> fileName:/ifElseIf.kt
FUN name:test visibility:public modality:FINAL <> (i:kotlin.Int) returnType:Int flags:
VALUE_PARAMETER name:i index:0 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test(Int): Int'
RETURN type=kotlin.Nothing from='test(Int): Int'
WHEN type=kotlin.Int origin=WHEN
BRANCH
if: CALL 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
@@ -1,7 +1,7 @@
FILE fqName:<root> fileName:/implicitCastOnPlatformType.kt
FUN name:test visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test(): String'
RETURN type=kotlin.Nothing from='test(): String'
TYPE_OP type=kotlin.String origin=IMPLICIT_NOTNULL typeOperand=kotlin.String
CALL 'getProperty(String!): String!' type=kotlin.String! origin=null
key: CONST String type=kotlin.String value=test
+4 -4
View File
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/in.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Any flags:
VALUE_PARAMETER name:x index:1 type:kotlin.collections.Collection<kotlin.Any> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(Any, Collection<Any>): Boolean'
RETURN type=kotlin.Nothing from='test1(Any, Collection<Any>): Boolean'
CALL 'contains(Any): Boolean' type=kotlin.Boolean origin=IN
$this: GET_VAR 'value-parameter x: Collection<Any>' type=kotlin.collections.Collection<kotlin.Any> origin=null
element: GET_VAR 'value-parameter a: Any' type=kotlin.Any origin=null
@@ -11,7 +11,7 @@ FILE fqName:<root> fileName:/in.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Any flags:
VALUE_PARAMETER name:x index:1 type:kotlin.collections.Collection<kotlin.Any> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(Any, Collection<Any>): Boolean'
RETURN type=kotlin.Nothing from='test2(Any, Collection<Any>): Boolean'
CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=NOT_IN
arg0: CALL 'contains(Any): Boolean' type=kotlin.Boolean origin=NOT_IN
$this: GET_VAR 'value-parameter x: Collection<Any>' type=kotlin.collections.Collection<kotlin.Any> origin=null
@@ -21,7 +21,7 @@ FILE fqName:<root> fileName:/in.kt
VALUE_PARAMETER name:a index:0 type:T flags:
VALUE_PARAMETER name:x index:1 type:kotlin.collections.Collection<T> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test3(T, Collection<T>): Boolean'
RETURN type=kotlin.Nothing from='test3(T, Collection<T>): Boolean'
CALL 'contains(T): Boolean' type=kotlin.Boolean origin=IN
$this: GET_VAR 'value-parameter x: Collection<T>' type=kotlin.collections.Collection<T> origin=null
element: GET_VAR 'value-parameter a: T' type=T origin=null
@@ -30,7 +30,7 @@ FILE fqName:<root> fileName:/in.kt
VALUE_PARAMETER name:a index:0 type:T flags:
VALUE_PARAMETER name:x index:1 type:kotlin.collections.Collection<T> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test4(T, Collection<T>): Boolean'
RETURN type=kotlin.Nothing from='test4(T, Collection<T>): Boolean'
CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=NOT_IN
arg0: CALL 'contains(T): Boolean' type=kotlin.Boolean origin=NOT_IN
$this: GET_VAR 'value-parameter x: Collection<T>' type=kotlin.collections.Collection<T> origin=null
@@ -5,7 +5,7 @@ FILE fqName:<root> fileName:/incrementDecrement.kt
CONST Int type=kotlin.Int value=0
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-p> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-p>(): Int'
RETURN type=kotlin.Nothing from='<get-p>(): Int'
GET_FIELD 'p: Int' type=kotlin.Int origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-p> visibility:public modality:FINAL <> (<set-?>:kotlin.Int) returnType:Unit flags:
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int flags:
@@ -22,7 +22,7 @@ FILE fqName:<root> fileName:/incrementDecrement.kt
CONST Int type=kotlin.Int value=3
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-arr> visibility:public modality:FINAL <> () returnType:IntArray flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-arr>(): IntArray'
RETURN type=kotlin.Nothing from='<get-arr>(): IntArray'
GET_FIELD 'arr: IntArray' type=kotlin.IntArray origin=null
FUN name:testVarPrefix visibility:public modality:FINAL <> () returnType:Unit flags:
BLOCK_BODY
@@ -13,7 +13,7 @@ FILE fqName:<root> fileName:/Derived.kt
FUN name:getValue visibility:public modality:FINAL <> ($this:Derived) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:Derived flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=getValue(): Int'
RETURN type=kotlin.Nothing from='getValue(): Int'
GET_FIELD 'value: Int' type=kotlin.Int origin=GET_PROPERTY
receiver: GET_VAR 'this@Derived: Derived' type=Derived origin=null
FUN name:setValue visibility:public modality:FINAL <> ($this:Derived, value:kotlin.Int) returnType:Unit flags:
@@ -12,7 +12,7 @@ FILE fqName:<root> fileName:/jvmStaticFieldReference.kt
$this: TYPE_OP type=java.io.PrintStream origin=IMPLICIT_NOTNULL typeOperand=java.io.PrintStream
GET_FIELD 'out: PrintStream!' type=java.io.PrintStream! origin=GET_PROPERTY
x: CONST String type=kotlin.String value=testProp/get
RETURN type=kotlin.Nothing from=<get-testProp>(): Any'
RETURN type=kotlin.Nothing from='<get-testProp>(): Any'
CONST Int type=kotlin.Int value=42
FUN name:<set-testProp> visibility:public modality:FINAL <> (value:kotlin.Any) returnType:Unit flags:
VALUE_PARAMETER name:value index:0 type:kotlin.Any flags:
@@ -42,7 +42,7 @@ FILE fqName:<root> fileName:/jvmStaticFieldReference.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test> visibility:public modality:FINAL <> ($this:TestClass) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:TestClass flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test>(): Int'
RETURN type=kotlin.Nothing from='<get-test>(): Int'
GET_FIELD 'test: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@TestClass: TestClass' type=TestClass origin=null
ANONYMOUS_INITIALIZER TestClass
+2 -2
View File
@@ -12,7 +12,7 @@ FILE fqName:<root> fileName:/kt16904.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:A) returnType:B flags:
$this: VALUE_PARAMETER name:<this> type:A flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-x>(): B'
RETURN type=kotlin.Nothing from='<get-x>(): B'
GET_FIELD 'x: B' type=B origin=null
receiver: GET_VAR 'this@A: A' type=A origin=null
PROPERTY name:y type:kotlin.Int visibility:public modality:FINAL flags:var
@@ -22,7 +22,7 @@ FILE fqName:<root> fileName:/kt16904.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-y> visibility:public modality:FINAL <> ($this:A) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:A flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-y>(): Int'
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 DEFAULT_PROPERTY_ACCESSOR name:<set-y> visibility:public modality:FINAL <> ($this:A, <set-?>:kotlin.Int) returnType:Unit flags:
+1 -1
View File
@@ -59,7 +59,7 @@ FILE fqName:<root> fileName:/kt16905.kt
TYPEALIAS typealias OI = Outer.Inner type=Outer.Inner
FUN name:test visibility:public modality:FINAL <> () returnType:Inner flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test(): OI /* = Outer.Inner */'
RETURN type=kotlin.Nothing from='test(): OI /* = Outer.Inner */'
CALL 'constructor Inner()' type=Outer.Inner origin=null
$this: CALL 'constructor Outer()' type=Outer origin=null
+4 -4
View File
@@ -7,7 +7,7 @@ FILE fqName:<root> fileName:/lambdaInCAO.kt
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
VALUE_PARAMETER name:index index:0 type:() -> kotlin.Unit flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=get(() -> Unit) on Any: Int'
RETURN type=kotlin.Nothing from='get(() -> Unit) on Any: Int'
CONST Int type=kotlin.Int value=42
FUN name:set visibility:public modality:FINAL <> ($receiver:kotlin.Any, index:() -> kotlin.Unit, value:kotlin.Int) returnType:Unit flags:
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@@ -22,7 +22,7 @@ FILE fqName:<root> fileName:/lambdaInCAO.kt
lambda: BLOCK type=() -> kotlin.Unit origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:Unit flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<anonymous>(): Unit'
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
GET_OBJECT 'Unit' type=kotlin.Unit
FUNCTION_REFERENCE '<anonymous>(): Unit' type=() -> kotlin.Unit origin=LAMBDA
FUN name:test2 visibility:public modality:FINAL <> (a:kotlin.Any) returnType:Unit flags:
@@ -35,7 +35,7 @@ FILE fqName:<root> fileName:/lambdaInCAO.kt
BLOCK type=() -> kotlin.Unit origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:Unit flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<anonymous>(): Unit'
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
GET_OBJECT 'Unit' type=kotlin.Unit
FUNCTION_REFERENCE '<anonymous>(): Unit' type=() -> kotlin.Unit origin=LAMBDA
CALL 'set(() -> Unit, Int) on Any: Unit' type=kotlin.Unit origin=PLUSEQ
@@ -57,7 +57,7 @@ FILE fqName:<root> fileName:/lambdaInCAO.kt
BLOCK type=() -> kotlin.Unit origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:Unit flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<anonymous>(): Unit'
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
GET_OBJECT 'Unit' type=kotlin.Unit
FUNCTION_REFERENCE '<anonymous>(): Unit' type=() -> kotlin.Unit origin=LAMBDA
VAR IR_TEMPORARY_VARIABLE name:tmp2 type:kotlin.Int flags:val
+17 -17
View File
@@ -5,7 +5,7 @@ FILE fqName:<root> fileName:/literals.kt
CONST Int type=kotlin.Int value=1
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test1>(): Int'
RETURN type=kotlin.Nothing from='<get-test1>(): Int'
GET_FIELD 'test1: Int' type=kotlin.Int origin=null
PROPERTY name:test2 type:kotlin.Int visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.Int visibility:public
@@ -13,7 +13,7 @@ FILE fqName:<root> fileName:/literals.kt
CONST Int type=kotlin.Int value=-1
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test2>(): Int'
RETURN type=kotlin.Nothing from='<get-test2>(): Int'
GET_FIELD 'test2: Int' type=kotlin.Int origin=null
PROPERTY name:test3 type:kotlin.Boolean visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test3 type:kotlin.Boolean visibility:public
@@ -21,7 +21,7 @@ FILE fqName:<root> fileName:/literals.kt
CONST Boolean type=kotlin.Boolean value=true
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test3> visibility:public modality:FINAL <> () returnType:Boolean flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test3>(): Boolean'
RETURN type=kotlin.Nothing from='<get-test3>(): Boolean'
GET_FIELD 'test3: Boolean' type=kotlin.Boolean origin=null
PROPERTY name:test4 type:kotlin.Boolean visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test4 type:kotlin.Boolean visibility:public
@@ -29,7 +29,7 @@ FILE fqName:<root> fileName:/literals.kt
CONST Boolean type=kotlin.Boolean value=false
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test4> visibility:public modality:FINAL <> () returnType:Boolean flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test4>(): Boolean'
RETURN type=kotlin.Nothing from='<get-test4>(): Boolean'
GET_FIELD 'test4: Boolean' type=kotlin.Boolean origin=null
PROPERTY name:test5 type:kotlin.String visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test5 type:kotlin.String visibility:public
@@ -37,7 +37,7 @@ FILE fqName:<root> fileName:/literals.kt
CONST String type=kotlin.String value=abc
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test5> visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test5>(): String'
RETURN type=kotlin.Nothing from='<get-test5>(): String'
GET_FIELD 'test5: String' type=kotlin.String origin=null
PROPERTY name:test6 type:kotlin.Nothing? visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test6 type:kotlin.Nothing? visibility:public
@@ -45,7 +45,7 @@ FILE fqName:<root> fileName:/literals.kt
CONST Null type=kotlin.Nothing? value=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test6> visibility:public modality:FINAL <> () returnType:Nothing? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test6>(): Nothing?'
RETURN type=kotlin.Nothing from='<get-test6>(): Nothing?'
GET_FIELD 'test6: Nothing?' type=kotlin.Nothing? origin=null
PROPERTY name:test7 type:kotlin.Long visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test7 type:kotlin.Long visibility:public
@@ -53,7 +53,7 @@ FILE fqName:<root> fileName:/literals.kt
CONST Long type=kotlin.Long value=1
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test7> visibility:public modality:FINAL <> () returnType:Long flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test7>(): Long'
RETURN type=kotlin.Nothing from='<get-test7>(): Long'
GET_FIELD 'test7: Long' type=kotlin.Long origin=null
PROPERTY name:test8 type:kotlin.Long visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test8 type:kotlin.Long visibility:public
@@ -61,7 +61,7 @@ FILE fqName:<root> fileName:/literals.kt
CONST Long type=kotlin.Long value=-1
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test8> visibility:public modality:FINAL <> () returnType:Long flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test8>(): Long'
RETURN type=kotlin.Nothing from='<get-test8>(): Long'
GET_FIELD 'test8: Long' type=kotlin.Long origin=null
PROPERTY name:test9 type:kotlin.Double visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test9 type:kotlin.Double visibility:public
@@ -69,7 +69,7 @@ FILE fqName:<root> fileName:/literals.kt
CONST Double type=kotlin.Double value=1.0
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test9> visibility:public modality:FINAL <> () returnType:Double flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test9>(): Double'
RETURN type=kotlin.Nothing from='<get-test9>(): Double'
GET_FIELD 'test9: Double' type=kotlin.Double origin=null
PROPERTY name:test10 type:kotlin.Double visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test10 type:kotlin.Double visibility:public
@@ -77,7 +77,7 @@ FILE fqName:<root> fileName:/literals.kt
CONST Double type=kotlin.Double value=-1.0
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test10> visibility:public modality:FINAL <> () returnType:Double flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test10>(): Double'
RETURN type=kotlin.Nothing from='<get-test10>(): Double'
GET_FIELD 'test10: Double' type=kotlin.Double origin=null
PROPERTY name:test11 type:kotlin.Float visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test11 type:kotlin.Float visibility:public
@@ -85,7 +85,7 @@ FILE fqName:<root> fileName:/literals.kt
CONST Float type=kotlin.Float value=1.0
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test11> visibility:public modality:FINAL <> () returnType:Float flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test11>(): Float'
RETURN type=kotlin.Nothing from='<get-test11>(): Float'
GET_FIELD 'test11: Float' type=kotlin.Float origin=null
PROPERTY name:test12 type:kotlin.Float visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test12 type:kotlin.Float visibility:public
@@ -93,7 +93,7 @@ FILE fqName:<root> fileName:/literals.kt
CONST Float type=kotlin.Float value=-1.0
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test12> visibility:public modality:FINAL <> () returnType:Float flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test12>(): Float'
RETURN type=kotlin.Nothing from='<get-test12>(): Float'
GET_FIELD 'test12: Float' type=kotlin.Float origin=null
PROPERTY name:test13 type:kotlin.Char visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test13 type:kotlin.Char visibility:public
@@ -101,7 +101,7 @@ FILE fqName:<root> fileName:/literals.kt
CONST Char type=kotlin.Char value=a
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test13> visibility:public modality:FINAL <> () returnType:Char flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test13>(): Char'
RETURN type=kotlin.Nothing from='<get-test13>(): Char'
GET_FIELD 'test13: Char' type=kotlin.Char origin=null
PROPERTY name:testB type:kotlin.Byte visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:testB type:kotlin.Byte visibility:public
@@ -109,7 +109,7 @@ FILE fqName:<root> fileName:/literals.kt
CONST Byte type=kotlin.Byte value=1
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-testB> visibility:public modality:FINAL <> () returnType:Byte flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-testB>(): Byte'
RETURN type=kotlin.Nothing from='<get-testB>(): Byte'
GET_FIELD 'testB: Byte' type=kotlin.Byte origin=null
PROPERTY name:testS type:kotlin.Short visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:testS type:kotlin.Short visibility:public
@@ -117,7 +117,7 @@ FILE fqName:<root> fileName:/literals.kt
CONST Short type=kotlin.Short value=1
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-testS> visibility:public modality:FINAL <> () returnType:Short flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-testS>(): Short'
RETURN type=kotlin.Nothing from='<get-testS>(): Short'
GET_FIELD 'testS: Short' type=kotlin.Short origin=null
PROPERTY name:testI type:kotlin.Int visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:testI type:kotlin.Int visibility:public
@@ -125,7 +125,7 @@ FILE fqName:<root> fileName:/literals.kt
CONST Int type=kotlin.Int value=1
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-testI> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-testI>(): Int'
RETURN type=kotlin.Nothing from='<get-testI>(): Int'
GET_FIELD 'testI: Int' type=kotlin.Int origin=null
PROPERTY name:testL type:kotlin.Long visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:testL type:kotlin.Long visibility:public
@@ -133,6 +133,6 @@ FILE fqName:<root> fileName:/literals.kt
CONST Long type=kotlin.Long value=1
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-testL> visibility:public modality:FINAL <> () returnType:Long flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-testL>(): Long'
RETURN type=kotlin.Nothing from='<get-testL>(): Long'
GET_FIELD 'testL: Long' type=kotlin.Long origin=null
@@ -8,13 +8,13 @@ FILE fqName:<root> fileName:/membersImportedFromObject.kt
FUN name:foo visibility:public modality:FINAL <> ($this:A) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:A flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=foo(): Int'
RETURN type=kotlin.Nothing from='foo(): Int'
CONST Int type=kotlin.Int value=1
FUN name:fooExt visibility:public modality:FINAL <> ($this:A, $receiver:kotlin.Int) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:A flags:
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=fooExt() on Int: Int'
RETURN type=kotlin.Nothing from='fooExt() on Int: Int'
CONST Int type=kotlin.Int value=2
PROPERTY name:bar type:kotlin.Int visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:bar type:kotlin.Int visibility:public
@@ -23,7 +23,7 @@ FILE fqName:<root> fileName:/membersImportedFromObject.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-bar> visibility:public modality:FINAL <> ($this:A) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:A flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-bar>(): Int'
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
GET_FIELD 'bar: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@A: A' type=A origin=null
PROPERTY name:barExt type:kotlin.Int visibility:public modality:FINAL flags:val
@@ -31,7 +31,7 @@ FILE fqName:<root> fileName:/membersImportedFromObject.kt
$this: VALUE_PARAMETER name:<this> type:A flags:
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-barExt>() on Int: Int'
RETURN type=kotlin.Nothing from='<get-barExt>() on Int: Int'
CONST Int type=kotlin.Int value=43
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
@@ -47,7 +47,7 @@ FILE fqName:<root> fileName:/membersImportedFromObject.kt
$this: GET_OBJECT 'A' type=A
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test1>(): Int'
RETURN type=kotlin.Nothing from='<get-test1>(): Int'
GET_FIELD 'test1: Int' type=kotlin.Int origin=null
PROPERTY name:test2 type:kotlin.Int visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.Int visibility:public
@@ -56,7 +56,7 @@ FILE fqName:<root> fileName:/membersImportedFromObject.kt
$this: GET_OBJECT 'A' type=A
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test2>(): Int'
RETURN type=kotlin.Nothing from='<get-test2>(): Int'
GET_FIELD 'test2: Int' type=kotlin.Int origin=null
PROPERTY name:test3 type:kotlin.Int visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test3 type:kotlin.Int visibility:public
@@ -66,7 +66,7 @@ FILE fqName:<root> fileName:/membersImportedFromObject.kt
$receiver: CONST Int type=kotlin.Int value=1
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test3> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test3>(): Int'
RETURN type=kotlin.Nothing from='<get-test3>(): Int'
GET_FIELD 'test3: Int' type=kotlin.Int origin=null
PROPERTY name:test4 type:kotlin.Int visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test4 type:kotlin.Int visibility:public
@@ -76,6 +76,6 @@ FILE fqName:<root> fileName:/membersImportedFromObject.kt
$receiver: CONST Int type=kotlin.Int value=1
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test4> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test4>(): Int'
RETURN type=kotlin.Nothing from='<get-test4>(): Int'
GET_FIELD 'test4: Int' type=kotlin.Int origin=null
@@ -20,7 +20,7 @@ FILE fqName:<root> fileName:/multipleThisReferences.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:Outer.Inner) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:Outer.Inner flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-x>(): Int'
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@Inner: Inner' type=Outer.Inner origin=null
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
@@ -51,14 +51,14 @@ FILE fqName:<root> fileName:/multipleThisReferences.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-y> visibility:public modality:FINAL <> ($this:Host) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:Host flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-y>(): Int'
RETURN type=kotlin.Nothing from='<get-y>(): Int'
GET_FIELD 'y: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@Host: Host' type=Host origin=null
FUN name:test visibility:public modality:FINAL <> ($this:Host, $receiver:Outer) returnType:Inner flags:
$this: VALUE_PARAMETER name:<this> type:Host flags:
$receiver: VALUE_PARAMETER name:<this> type:Outer flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test() on Outer: Outer.Inner'
RETURN type=kotlin.Nothing from='test() on Outer: Outer.Inner'
BLOCK type=Host.test.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS name:<no name provided> modality:FINAL visibility:local flags:
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Host.test.<no name provided> flags:
@@ -79,7 +79,7 @@ FILE fqName:<root> fileName:/multipleThisReferences.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-xx> visibility:public modality:FINAL <> ($this:Host.test.<no name provided>) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:Host.test.<no name provided> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-xx>(): Int'
RETURN type=kotlin.Nothing from='<get-xx>(): Int'
GET_FIELD 'xx: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@<no name provided>: <no name provided>' type=Host.test.<no name provided> origin=null
PROPERTY FAKE_OVERRIDE name:x type:kotlin.Int visibility:public modality:FINAL flags:val
@@ -52,13 +52,13 @@ FILE fqName:<root> fileName:/objectAsCallable.kt
$receiver: VALUE_PARAMETER name:<this> type:A flags:
VALUE_PARAMETER name:i index:0 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=invoke(Int) on A: Int'
RETURN type=kotlin.Nothing from='invoke(Int) on A: Int'
GET_VAR 'value-parameter i: Int' type=kotlin.Int origin=null
FUN name:invoke visibility:public modality:FINAL <> ($receiver:En, i:kotlin.Int) returnType:Int flags:
$receiver: VALUE_PARAMETER name:<this> type:En flags:
VALUE_PARAMETER name:i index:0 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=invoke(Int) on En: Int'
RETURN type=kotlin.Nothing from='invoke(Int) on En: Int'
GET_VAR 'value-parameter i: Int' type=kotlin.Int origin=null
PROPERTY name:test1 type:kotlin.Int visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test1 type:kotlin.Int visibility:public
@@ -68,7 +68,7 @@ FILE fqName:<root> fileName:/objectAsCallable.kt
i: CONST Int type=kotlin.Int value=42
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test1>(): Int'
RETURN type=kotlin.Nothing from='<get-test1>(): Int'
GET_FIELD 'test1: Int' type=kotlin.Int origin=null
PROPERTY name:test2 type:kotlin.Int visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.Int visibility:public
@@ -78,6 +78,6 @@ FILE fqName:<root> fileName:/objectAsCallable.kt
i: CONST Int type=kotlin.Int value=42
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test2>(): Int'
RETURN type=kotlin.Nothing from='<get-test2>(): Int'
GET_FIELD 'test2: Int' type=kotlin.Int origin=null
@@ -18,7 +18,7 @@ FILE fqName:<root> fileName:/outerClassInstanceReference.kt
FUN name:inner visibility:public modality:FINAL <> ($this:Outer.Inner) returnType:Unit flags:
$this: VALUE_PARAMETER name:<this> type:Outer.Inner flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=inner(): Unit'
RETURN type=kotlin.Nothing from='inner(): Unit'
CALL 'outer(): Unit' type=kotlin.Unit origin=null
$this: GET_VAR 'this@Outer: Outer' type=Outer origin=null
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Byte flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Byte flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=btest1(Byte, Byte): Boolean'
RETURN type=kotlin.Nothing from='btest1(Byte, Byte): Boolean'
CALL 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
arg0: CALL 'compareTo(Byte): Int' type=kotlin.Int origin=GT
$this: GET_VAR 'value-parameter a: Byte' type=kotlin.Byte origin=null
@@ -12,7 +12,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Byte flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Byte flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=btest2(Byte, Byte): Boolean'
RETURN type=kotlin.Nothing from='btest2(Byte, Byte): Boolean'
CALL 'LT0(Int): Boolean' type=kotlin.Boolean origin=LT
arg0: CALL 'compareTo(Byte): Int' type=kotlin.Int origin=LT
$this: GET_VAR 'value-parameter a: Byte' type=kotlin.Byte origin=null
@@ -21,7 +21,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Byte flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Byte flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=btest3(Byte, Byte): Boolean'
RETURN type=kotlin.Nothing from='btest3(Byte, Byte): Boolean'
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean origin=GTEQ
arg0: CALL 'compareTo(Byte): Int' type=kotlin.Int origin=GTEQ
$this: GET_VAR 'value-parameter a: Byte' type=kotlin.Byte origin=null
@@ -30,7 +30,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Byte flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Byte flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=btest4(Byte, Byte): Boolean'
RETURN type=kotlin.Nothing from='btest4(Byte, Byte): Boolean'
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean origin=LTEQ
arg0: CALL 'compareTo(Byte): Int' type=kotlin.Int origin=LTEQ
$this: GET_VAR 'value-parameter a: Byte' type=kotlin.Byte origin=null
@@ -39,7 +39,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Short flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Short flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=stest1(Short, Short): Boolean'
RETURN type=kotlin.Nothing from='stest1(Short, Short): Boolean'
CALL 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
arg0: CALL 'compareTo(Short): Int' type=kotlin.Int origin=GT
$this: GET_VAR 'value-parameter a: Short' type=kotlin.Short origin=null
@@ -48,7 +48,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Short flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Short flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=stest2(Short, Short): Boolean'
RETURN type=kotlin.Nothing from='stest2(Short, Short): Boolean'
CALL 'LT0(Int): Boolean' type=kotlin.Boolean origin=LT
arg0: CALL 'compareTo(Short): Int' type=kotlin.Int origin=LT
$this: GET_VAR 'value-parameter a: Short' type=kotlin.Short origin=null
@@ -57,7 +57,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Short flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Short flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=stest3(Short, Short): Boolean'
RETURN type=kotlin.Nothing from='stest3(Short, Short): Boolean'
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean origin=GTEQ
arg0: CALL 'compareTo(Short): Int' type=kotlin.Int origin=GTEQ
$this: GET_VAR 'value-parameter a: Short' type=kotlin.Short origin=null
@@ -66,7 +66,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Short flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Short flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=stest4(Short, Short): Boolean'
RETURN type=kotlin.Nothing from='stest4(Short, Short): Boolean'
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean origin=LTEQ
arg0: CALL 'compareTo(Short): Int' type=kotlin.Int origin=LTEQ
$this: GET_VAR 'value-parameter a: Short' type=kotlin.Short origin=null
@@ -75,7 +75,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=itest1(Int, Int): Boolean'
RETURN type=kotlin.Nothing from='itest1(Int, Int): Boolean'
CALL 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
arg0: CALL 'compareTo(Int): Int' type=kotlin.Int origin=GT
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
@@ -84,7 +84,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=itest2(Int, Int): Boolean'
RETURN type=kotlin.Nothing from='itest2(Int, Int): Boolean'
CALL 'LT0(Int): Boolean' type=kotlin.Boolean origin=LT
arg0: CALL 'compareTo(Int): Int' type=kotlin.Int origin=LT
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
@@ -93,7 +93,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=itest3(Int, Int): Boolean'
RETURN type=kotlin.Nothing from='itest3(Int, Int): Boolean'
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean origin=GTEQ
arg0: CALL 'compareTo(Int): Int' type=kotlin.Int origin=GTEQ
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
@@ -102,7 +102,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=itest4(Int, Int): Boolean'
RETURN type=kotlin.Nothing from='itest4(Int, Int): Boolean'
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean origin=LTEQ
arg0: CALL 'compareTo(Int): Int' type=kotlin.Int origin=LTEQ
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
@@ -111,7 +111,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Long flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Long flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=ltest1(Long, Long): Boolean'
RETURN type=kotlin.Nothing from='ltest1(Long, Long): Boolean'
CALL 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
arg0: CALL 'compareTo(Long): Int' type=kotlin.Int origin=GT
$this: GET_VAR 'value-parameter a: Long' type=kotlin.Long origin=null
@@ -120,7 +120,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Long flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Long flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=ltest2(Long, Long): Boolean'
RETURN type=kotlin.Nothing from='ltest2(Long, Long): Boolean'
CALL 'LT0(Int): Boolean' type=kotlin.Boolean origin=LT
arg0: CALL 'compareTo(Long): Int' type=kotlin.Int origin=LT
$this: GET_VAR 'value-parameter a: Long' type=kotlin.Long origin=null
@@ -129,7 +129,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Long flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Long flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=ltest3(Long, Long): Boolean'
RETURN type=kotlin.Nothing from='ltest3(Long, Long): Boolean'
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean origin=GTEQ
arg0: CALL 'compareTo(Long): Int' type=kotlin.Int origin=GTEQ
$this: GET_VAR 'value-parameter a: Long' type=kotlin.Long origin=null
@@ -138,7 +138,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Long flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Long flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=ltest4(Long, Long): Boolean'
RETURN type=kotlin.Nothing from='ltest4(Long, Long): Boolean'
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean origin=LTEQ
arg0: CALL 'compareTo(Long): Int' type=kotlin.Int origin=LTEQ
$this: GET_VAR 'value-parameter a: Long' type=kotlin.Long origin=null
@@ -147,7 +147,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Float flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Float flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=ftest1(Float, Float): Boolean'
RETURN type=kotlin.Nothing from='ftest1(Float, Float): Boolean'
CALL 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
arg0: CALL 'compareTo(Float): Int' type=kotlin.Int origin=GT
$this: GET_VAR 'value-parameter a: Float' type=kotlin.Float origin=null
@@ -156,7 +156,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Float flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Float flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=ftest2(Float, Float): Boolean'
RETURN type=kotlin.Nothing from='ftest2(Float, Float): Boolean'
CALL 'LT0(Int): Boolean' type=kotlin.Boolean origin=LT
arg0: CALL 'compareTo(Float): Int' type=kotlin.Int origin=LT
$this: GET_VAR 'value-parameter a: Float' type=kotlin.Float origin=null
@@ -165,7 +165,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Float flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Float flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=ftest3(Float, Float): Boolean'
RETURN type=kotlin.Nothing from='ftest3(Float, Float): Boolean'
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean origin=GTEQ
arg0: CALL 'compareTo(Float): Int' type=kotlin.Int origin=GTEQ
$this: GET_VAR 'value-parameter a: Float' type=kotlin.Float origin=null
@@ -174,7 +174,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Float flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Float flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=ftest4(Float, Float): Boolean'
RETURN type=kotlin.Nothing from='ftest4(Float, Float): Boolean'
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean origin=LTEQ
arg0: CALL 'compareTo(Float): Int' type=kotlin.Int origin=LTEQ
$this: GET_VAR 'value-parameter a: Float' type=kotlin.Float origin=null
@@ -183,7 +183,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Double flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Double flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=dtest1(Double, Double): Boolean'
RETURN type=kotlin.Nothing from='dtest1(Double, Double): Boolean'
CALL 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
arg0: CALL 'compareTo(Double): Int' type=kotlin.Int origin=GT
$this: GET_VAR 'value-parameter a: Double' type=kotlin.Double origin=null
@@ -192,7 +192,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Double flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Double flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=dtest2(Double, Double): Boolean'
RETURN type=kotlin.Nothing from='dtest2(Double, Double): Boolean'
CALL 'LT0(Int): Boolean' type=kotlin.Boolean origin=LT
arg0: CALL 'compareTo(Double): Int' type=kotlin.Int origin=LT
$this: GET_VAR 'value-parameter a: Double' type=kotlin.Double origin=null
@@ -201,7 +201,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Double flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Double flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=dtest3(Double, Double): Boolean'
RETURN type=kotlin.Nothing from='dtest3(Double, Double): Boolean'
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean origin=GTEQ
arg0: CALL 'compareTo(Double): Int' type=kotlin.Int origin=GTEQ
$this: GET_VAR 'value-parameter a: Double' type=kotlin.Double origin=null
@@ -210,7 +210,7 @@ FILE fqName:<root> fileName:/primitiveComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Double flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Double flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=dtest4(Double, Double): Boolean'
RETURN type=kotlin.Nothing from='dtest4(Double, Double): Boolean'
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean origin=LTEQ
arg0: CALL 'compareTo(Double): Int' type=kotlin.Int origin=LTEQ
$this: GET_VAR 'value-parameter a: Double' type=kotlin.Double origin=null
@@ -5,7 +5,7 @@ FILE fqName:<root> fileName:/primitivesImplicitConversions.kt
CONST Long type=kotlin.Long value=42
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:Long flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test1>(): Long'
RETURN type=kotlin.Nothing from='<get-test1>(): Long'
GET_FIELD 'test1: Long' type=kotlin.Long origin=null
PROPERTY name:test2 type:kotlin.Short visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.Short visibility:public
@@ -13,7 +13,7 @@ FILE fqName:<root> fileName:/primitivesImplicitConversions.kt
CONST Short type=kotlin.Short value=42
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> () returnType:Short flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test2>(): Short'
RETURN type=kotlin.Nothing from='<get-test2>(): Short'
GET_FIELD 'test2: Short' type=kotlin.Short origin=null
PROPERTY name:test3 type:kotlin.Byte visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test3 type:kotlin.Byte visibility:public
@@ -21,7 +21,7 @@ FILE fqName:<root> fileName:/primitivesImplicitConversions.kt
CONST Byte type=kotlin.Byte value=42
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test3> visibility:public modality:FINAL <> () returnType:Byte flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test3>(): Byte'
RETURN type=kotlin.Nothing from='<get-test3>(): Byte'
GET_FIELD 'test3: Byte' type=kotlin.Byte origin=null
PROPERTY name:test4 type:kotlin.Long visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test4 type:kotlin.Long visibility:public
@@ -31,7 +31,7 @@ FILE fqName:<root> fileName:/primitivesImplicitConversions.kt
$this: CONST Int type=kotlin.Int value=42
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test4> visibility:public modality:FINAL <> () returnType:Long flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test4>(): Long'
RETURN type=kotlin.Nothing from='<get-test4>(): Long'
GET_FIELD 'test4: Long' type=kotlin.Long origin=null
PROPERTY name:test5 type:kotlin.Short visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test5 type:kotlin.Short visibility:public
@@ -41,7 +41,7 @@ FILE fqName:<root> fileName:/primitivesImplicitConversions.kt
$this: CONST Int type=kotlin.Int value=42
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test5> visibility:public modality:FINAL <> () returnType:Short flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test5>(): Short'
RETURN type=kotlin.Nothing from='<get-test5>(): Short'
GET_FIELD 'test5: Short' type=kotlin.Short origin=null
PROPERTY name:test6 type:kotlin.Byte visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test6 type:kotlin.Byte visibility:public
@@ -51,7 +51,7 @@ FILE fqName:<root> fileName:/primitivesImplicitConversions.kt
$this: CONST Int type=kotlin.Int value=42
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test6> visibility:public modality:FINAL <> () returnType:Byte flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test6>(): Byte'
RETURN type=kotlin.Nothing from='<get-test6>(): Byte'
GET_FIELD 'test6: Byte' type=kotlin.Byte origin=null
FUN name:test visibility:public modality:FINAL <> () returnType:Unit flags:
BLOCK_BODY
@@ -100,7 +100,7 @@ FILE fqName:<root> fileName:/primitivesImplicitConversions.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:TestImplicitArguments) returnType:Long flags:
$this: VALUE_PARAMETER name:<this> type:TestImplicitArguments flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-x>(): Long'
RETURN type=kotlin.Nothing from='<get-x>(): Long'
GET_FIELD 'x: Long' type=kotlin.Long origin=null
receiver: GET_VAR 'this@TestImplicitArguments: TestImplicitArguments' type=TestImplicitArguments origin=null
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
+9 -9
View File
@@ -5,7 +5,7 @@ FILE fqName:<root> fileName:/references.kt
CONST String type=kotlin.String value=OK
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-ok> visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-ok>(): String'
RETURN type=kotlin.Nothing from='<get-ok>(): String'
GET_FIELD 'ok: String' type=kotlin.String origin=null
PROPERTY name:ok2 type:kotlin.String visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:ok2 type:kotlin.String visibility:public
@@ -13,42 +13,42 @@ FILE fqName:<root> fileName:/references.kt
CALL '<get-ok>(): String' type=kotlin.String origin=GET_PROPERTY
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-ok2> visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-ok2>(): String'
RETURN type=kotlin.Nothing from='<get-ok2>(): String'
GET_FIELD 'ok2: String' type=kotlin.String origin=null
PROPERTY name:ok3 type:kotlin.String visibility:public modality:FINAL flags:val
FUN name:<get-ok3> visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-ok3>(): String'
RETURN type=kotlin.Nothing from='<get-ok3>(): String'
CONST String type=kotlin.String value=OK
FUN name:test1 visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(): String'
RETURN type=kotlin.Nothing from='test1(): String'
CALL '<get-ok>(): String' type=kotlin.String origin=GET_PROPERTY
FUN name:test2 visibility:public modality:FINAL <> (x:kotlin.String) returnType:String flags:
VALUE_PARAMETER name:x index:0 type:kotlin.String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(String): String'
RETURN type=kotlin.Nothing from='test2(String): String'
GET_VAR 'value-parameter x: String' type=kotlin.String origin=null
FUN name:test3 visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
VAR name:x type:kotlin.String flags:val
CONST String type=kotlin.String value=OK
RETURN type=kotlin.Nothing from=test3(): String'
RETURN type=kotlin.Nothing from='test3(): String'
GET_VAR 'x: String' type=kotlin.String origin=null
FUN name:test4 visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test4(): String'
RETURN type=kotlin.Nothing from='test4(): String'
CALL '<get-ok3>(): String' type=kotlin.String origin=GET_PROPERTY
PROPERTY name:okext type:kotlin.String visibility:public modality:FINAL flags:val
FUN name:<get-okext> visibility:public modality:FINAL <> ($receiver:kotlin.String) returnType:String flags:
$receiver: VALUE_PARAMETER name:<this> type:kotlin.String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-okext>() on String: String'
RETURN type=kotlin.Nothing from='<get-okext>() on String: String'
CONST String type=kotlin.String value=OK
FUN name:test5 visibility:public modality:FINAL <> ($receiver:kotlin.String) returnType:String flags:
$receiver: VALUE_PARAMETER name:<this> type:kotlin.String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test5() on String: String'
RETURN type=kotlin.Nothing from='test5() on String: String'
CALL '<get-okext>() on String: String' type=kotlin.String origin=GET_PROPERTY
$receiver: GET_VAR 'this@test5: String' type=kotlin.String origin=null
@@ -23,7 +23,7 @@ FILE fqName:<root> fileName:/reflectionLiterals.kt
CONST Int type=kotlin.Int value=42
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-qux> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-qux>(): Int'
RETURN type=kotlin.Nothing from='<get-qux>(): Int'
GET_FIELD 'qux: Int' type=kotlin.Int origin=null
PROPERTY name:test1 type:kotlin.reflect.KClass<A> visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test1 type:kotlin.reflect.KClass<A> visibility:public
@@ -31,7 +31,7 @@ FILE fqName:<root> fileName:/reflectionLiterals.kt
CLASS_REFERENCE 'A' type=kotlin.reflect.KClass<A>
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:KClass<A> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test1>(): KClass<A>'
RETURN type=kotlin.Nothing from='<get-test1>(): KClass<A>'
GET_FIELD 'test1: KClass<A>' type=kotlin.reflect.KClass<A> origin=null
PROPERTY name:test2 type:kotlin.reflect.KClass<out kotlin.Int> visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.reflect.KClass<out kotlin.Int> visibility:public
@@ -40,7 +40,7 @@ FILE fqName:<root> fileName:/reflectionLiterals.kt
CALL '<get-qux>(): Int' type=kotlin.Int origin=GET_PROPERTY
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> () returnType:KClass<out Int> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test2>(): KClass<out Int>'
RETURN type=kotlin.Nothing from='<get-test2>(): KClass<out Int>'
GET_FIELD 'test2: KClass<out Int>' type=kotlin.reflect.KClass<out kotlin.Int> origin=null
PROPERTY name:test3 type:kotlin.reflect.KFunction1<A, kotlin.Unit> visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test3 type:kotlin.reflect.KFunction1<A, kotlin.Unit> visibility:public
@@ -48,7 +48,7 @@ FILE fqName:<root> fileName:/reflectionLiterals.kt
FUNCTION_REFERENCE 'foo(): Unit' type=kotlin.reflect.KFunction1<A, kotlin.Unit> origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test3> visibility:public modality:FINAL <> () returnType:KFunction1<A, Unit> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test3>(): KFunction1<A, Unit>'
RETURN type=kotlin.Nothing from='<get-test3>(): KFunction1<A, Unit>'
GET_FIELD 'test3: KFunction1<A, Unit>' type=kotlin.reflect.KFunction1<A, kotlin.Unit> origin=null
PROPERTY name:test4 type:kotlin.reflect.KFunction0<A> visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test4 type:kotlin.reflect.KFunction0<A> visibility:public
@@ -56,7 +56,7 @@ FILE fqName:<root> fileName:/reflectionLiterals.kt
FUNCTION_REFERENCE 'constructor A()' type=kotlin.reflect.KFunction0<A> origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test4> visibility:public modality:FINAL <> () returnType:KFunction0<A> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test4>(): KFunction0<A>'
RETURN type=kotlin.Nothing from='<get-test4>(): KFunction0<A>'
GET_FIELD 'test4: KFunction0<A>' type=kotlin.reflect.KFunction0<A> origin=null
PROPERTY name:test5 type:kotlin.reflect.KFunction0<kotlin.Unit> visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test5 type:kotlin.reflect.KFunction0<kotlin.Unit> visibility:public
@@ -65,7 +65,7 @@ FILE fqName:<root> fileName:/reflectionLiterals.kt
$this: CALL 'constructor A()' type=A origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test5> visibility:public modality:FINAL <> () returnType:KFunction0<Unit> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test5>(): KFunction0<Unit>'
RETURN type=kotlin.Nothing from='<get-test5>(): KFunction0<Unit>'
GET_FIELD 'test5: KFunction0<Unit>' type=kotlin.reflect.KFunction0<kotlin.Unit> origin=null
PROPERTY name:test6 type:kotlin.reflect.KFunction0<kotlin.Unit> visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test6 type:kotlin.reflect.KFunction0<kotlin.Unit> visibility:public
@@ -73,7 +73,7 @@ FILE fqName:<root> fileName:/reflectionLiterals.kt
FUNCTION_REFERENCE 'bar(): Unit' type=kotlin.reflect.KFunction0<kotlin.Unit> origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test6> visibility:public modality:FINAL <> () returnType:KFunction0<Unit> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test6>(): KFunction0<Unit>'
RETURN type=kotlin.Nothing from='<get-test6>(): KFunction0<Unit>'
GET_FIELD 'test6: KFunction0<Unit>' type=kotlin.reflect.KFunction0<kotlin.Unit> origin=null
PROPERTY name:test7 type:kotlin.reflect.KProperty0<kotlin.Int> visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test7 type:kotlin.reflect.KProperty0<kotlin.Int> visibility:public
@@ -81,6 +81,6 @@ FILE fqName:<root> fileName:/reflectionLiterals.kt
PROPERTY_REFERENCE 'qux: Int' field=null getter='<get-qux>(): Int' setter=null type=kotlin.reflect.KProperty0<kotlin.Int> origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test7> visibility:public modality:FINAL <> () returnType:KProperty0<Int> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test7>(): KProperty0<Int>'
RETURN type=kotlin.Nothing from='<get-test7>(): KProperty0<Int>'
GET_FIELD 'test7: KProperty0<Int>' type=kotlin.reflect.KProperty0<kotlin.Int> origin=null
+1 -1
View File
@@ -13,7 +13,7 @@ FILE fqName:<root> fileName:/safeAssignment.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:C) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:C flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-x>(): Int'
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@C: C' type=C origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-x> visibility:public modality:FINAL <> ($this:C, <set-?>:kotlin.Int) returnType:Unit flags:
@@ -16,7 +16,7 @@ FILE fqName:test fileName:/safeCallWithIncrementDecrement.kt
FUN name:<get-p> visibility:public modality:FINAL <> ($receiver:test.C?) returnType:Int flags:
$receiver: VALUE_PARAMETER name:<this> type:test.C? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-p>() on C?: Int'
RETURN type=kotlin.Nothing from='<get-p>() on C?: Int'
CONST Int type=kotlin.Int value=42
FUN name:<set-p> visibility:public modality:FINAL <> ($receiver:test.C?, value:kotlin.Int) returnType:Unit flags:
$receiver: VALUE_PARAMETER name:<this> type:test.C? flags:
@@ -25,7 +25,7 @@ FILE fqName:test fileName:/safeCallWithIncrementDecrement.kt
FUN name:inc visibility:public modality:FINAL <> ($receiver:kotlin.Int?) returnType:Int? flags:
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=inc() on Int?: Int?'
RETURN type=kotlin.Nothing from='inc() on Int?: Int?'
BLOCK type=kotlin.Int? origin=SAFE_CALL
VAR IR_TEMPORARY_VARIABLE name:tmp0_safe_receiver type:kotlin.Int? flags:val
GET_VAR 'this@inc: Int?' type=kotlin.Int? origin=null
@@ -43,7 +43,7 @@ FILE fqName:test fileName:/safeCallWithIncrementDecrement.kt
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int? flags:
VALUE_PARAMETER name:index index:0 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=get(Int) on Int?: Int'
RETURN type=kotlin.Nothing from='get(Int) on Int?: Int'
CONST Int type=kotlin.Int value=42
FUN name:set visibility:public modality:FINAL <> ($receiver:kotlin.Int?, index:kotlin.Int, value:kotlin.Int) returnType:Unit flags:
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int? flags:
+7 -7
View File
@@ -13,7 +13,7 @@ FILE fqName:<root> fileName:/safeCalls.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-value> visibility:public modality:FINAL <> ($this:Ref) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:Ref flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-value>(): Int'
RETURN type=kotlin.Nothing from='<get-value>(): Int'
GET_FIELD 'value: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@Ref: Ref' type=Ref origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-value> visibility:public modality:FINAL <> ($this:Ref, <set-?>:kotlin.Int) returnType:Unit flags:
@@ -36,7 +36,7 @@ FILE fqName:<root> fileName:/safeCalls.kt
$this: VALUE_PARAMETER name:<this> type:IHost flags:
$receiver: VALUE_PARAMETER name:<this> type:kotlin.String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=extLength() on String: Int'
RETURN type=kotlin.Nothing from='extLength() on String: Int'
CALL '<get-length>(): Int' type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR 'this@extLength: String' type=kotlin.String origin=null
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
@@ -49,7 +49,7 @@ FILE fqName:<root> fileName:/safeCalls.kt
FUN name:test1 visibility:public modality:FINAL <> (x:kotlin.String?) returnType:Int? flags:
VALUE_PARAMETER name:x index:0 type:kotlin.String? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(String?): Int?'
RETURN type=kotlin.Nothing from='test1(String?): Int?'
BLOCK type=kotlin.Int? origin=SAFE_CALL
VAR IR_TEMPORARY_VARIABLE name:tmp0_safe_receiver type:kotlin.String? flags:val
GET_VAR 'value-parameter x: String?' type=kotlin.String? origin=null
@@ -66,7 +66,7 @@ FILE fqName:<root> fileName:/safeCalls.kt
FUN name:test2 visibility:public modality:FINAL <> (x:kotlin.String?) returnType:Int? flags:
VALUE_PARAMETER name:x index:0 type:kotlin.String? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(String?): Int?'
RETURN type=kotlin.Nothing from='test2(String?): Int?'
BLOCK type=kotlin.Int? origin=SAFE_CALL
VAR IR_TEMPORARY_VARIABLE name:tmp0_safe_receiver type:kotlin.String? flags:val
GET_VAR 'value-parameter x: String?' type=kotlin.String? origin=null
@@ -84,7 +84,7 @@ FILE fqName:<root> fileName:/safeCalls.kt
VALUE_PARAMETER name:x index:0 type:kotlin.String? flags:
VALUE_PARAMETER name:y index:1 type:kotlin.Any? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test3(String?, Any?): Boolean?'
RETURN type=kotlin.Nothing from='test3(String?, Any?): Boolean?'
BLOCK type=kotlin.Boolean? origin=SAFE_CALL
VAR IR_TEMPORARY_VARIABLE name:tmp0_safe_receiver type:kotlin.String? flags:val
GET_VAR 'value-parameter x: String?' type=kotlin.String? origin=null
@@ -121,7 +121,7 @@ FILE fqName:<root> fileName:/safeCalls.kt
$receiver: VALUE_PARAMETER name:<this> type:IHost flags:
VALUE_PARAMETER name:s index:0 type:kotlin.String? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test5(String?) on IHost: Int?'
RETURN type=kotlin.Nothing from='test5(String?) on IHost: Int?'
BLOCK type=kotlin.Int? origin=SAFE_CALL
VAR IR_TEMPORARY_VARIABLE name:tmp0_safe_receiver type:kotlin.String? flags:val
GET_VAR 'value-parameter s: String?' type=kotlin.String? origin=null
@@ -139,7 +139,7 @@ FILE fqName:<root> fileName:/safeCalls.kt
FUN name:foo visibility:public modality:FINAL <> ($receiver:kotlin.Int) returnType:Int flags:
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=foo() on Int: Int'
RETURN type=kotlin.Nothing from='foo() on Int: Int'
CONST Int type=kotlin.Int value=239
FUN name:box visibility:public modality:FINAL <> () returnType:Unit flags:
BLOCK_BODY
+11 -11
View File
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/simpleOperators.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(Int, Int): Int'
RETURN type=kotlin.Nothing from='test1(Int, Int): Int'
CALL 'plus(Int): Int' type=kotlin.Int origin=PLUS
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
@@ -11,7 +11,7 @@ FILE fqName:<root> fileName:/simpleOperators.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(Int, Int): Int'
RETURN type=kotlin.Nothing from='test2(Int, Int): Int'
CALL 'minus(Int): Int' type=kotlin.Int origin=MINUS
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
@@ -19,7 +19,7 @@ FILE fqName:<root> fileName:/simpleOperators.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test3(Int, Int): Int'
RETURN type=kotlin.Nothing from='test3(Int, Int): Int'
CALL 'times(Int): Int' type=kotlin.Int origin=MUL
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
@@ -27,7 +27,7 @@ FILE fqName:<root> fileName:/simpleOperators.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test4(Int, Int): Int'
RETURN type=kotlin.Nothing from='test4(Int, Int): Int'
CALL 'div(Int): Int' type=kotlin.Int origin=DIV
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
@@ -35,7 +35,7 @@ FILE fqName:<root> fileName:/simpleOperators.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test5(Int, Int): Int'
RETURN type=kotlin.Nothing from='test5(Int, Int): Int'
CALL 'rem(Int): Int' type=kotlin.Int origin=PERC
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
@@ -43,7 +43,7 @@ FILE fqName:<root> fileName:/simpleOperators.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test6(Int, Int): IntRange'
RETURN type=kotlin.Nothing from='test6(Int, Int): IntRange'
CALL 'rangeTo(Int): IntRange' type=kotlin.ranges.IntRange origin=RANGE
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
@@ -51,7 +51,7 @@ FILE fqName:<root> fileName:/simpleOperators.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1x(Int, Int): Int'
RETURN type=kotlin.Nothing from='test1x(Int, Int): Int'
CALL 'plus(Int): Int' type=kotlin.Int origin=null
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
@@ -59,7 +59,7 @@ FILE fqName:<root> fileName:/simpleOperators.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2x(Int, Int): Int'
RETURN type=kotlin.Nothing from='test2x(Int, Int): Int'
CALL 'minus(Int): Int' type=kotlin.Int origin=null
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
@@ -67,7 +67,7 @@ FILE fqName:<root> fileName:/simpleOperators.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test3x(Int, Int): Int'
RETURN type=kotlin.Nothing from='test3x(Int, Int): Int'
CALL 'times(Int): Int' type=kotlin.Int origin=null
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
@@ -75,7 +75,7 @@ FILE fqName:<root> fileName:/simpleOperators.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test4x(Int, Int): Int'
RETURN type=kotlin.Nothing from='test4x(Int, Int): Int'
CALL 'div(Int): Int' type=kotlin.Int origin=null
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
@@ -83,7 +83,7 @@ FILE fqName:<root> fileName:/simpleOperators.kt
VALUE_PARAMETER name:a index:0 type:kotlin.Int flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test5x(Int, Int): Int'
RETURN type=kotlin.Nothing from='test5x(Int, Int): Int'
CALL 'mod(Int): Int' type=kotlin.Int origin=null
$this: GET_VAR 'value-parameter a: Int' type=kotlin.Int origin=null
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int origin=null
@@ -2,31 +2,31 @@ FILE fqName:<root> fileName:/simpleUnaryOperators.kt
FUN name:test1 visibility:public modality:FINAL <> (x:kotlin.Int) returnType:Int flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(Int): Int'
RETURN type=kotlin.Nothing from='test1(Int): Int'
CALL 'unaryMinus(): Int' type=kotlin.Int origin=UMINUS
$this: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
FUN name:test2 visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(): Int'
RETURN type=kotlin.Nothing from='test2(): Int'
CONST Int type=kotlin.Int value=-42
FUN name:test3 visibility:public modality:FINAL <> (x:kotlin.Int) returnType:Int flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test3(Int): Int'
RETURN type=kotlin.Nothing from='test3(Int): Int'
CALL 'unaryPlus(): Int' type=kotlin.Int origin=UPLUS
$this: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
FUN name:test4 visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test4(): Int'
RETURN type=kotlin.Nothing from='test4(): Int'
CONST Int type=kotlin.Int value=42
FUN name:test5 visibility:public modality:FINAL <> (x:kotlin.Boolean) returnType:Boolean flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Boolean flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test5(Boolean): Boolean'
RETURN type=kotlin.Nothing from='test5(Boolean): Boolean'
CALL 'not(): Boolean' type=kotlin.Boolean origin=EXCL
$this: GET_VAR 'value-parameter x: Boolean' type=kotlin.Boolean origin=null
FUN name:test6 visibility:public modality:FINAL <> () returnType:Boolean flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test6(): Boolean'
RETURN type=kotlin.Nothing from='test6(): Boolean'
CONST Boolean type=kotlin.Boolean value=false
+7 -7
View File
@@ -8,12 +8,12 @@ FILE fqName:<root> fileName:/smartCasts.kt
FUN name:overloaded visibility:public modality:FINAL <> (s:kotlin.String) returnType:String flags:
VALUE_PARAMETER name:s index:0 type:kotlin.String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=overloaded(String): String'
RETURN type=kotlin.Nothing from='overloaded(String): String'
GET_VAR 'value-parameter s: String' type=kotlin.String origin=null
FUN name:overloaded visibility:public modality:FINAL <> (x:kotlin.Any) returnType:Any flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Any flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=overloaded(Any): Any'
RETURN type=kotlin.Nothing from='overloaded(Any): Any'
GET_VAR 'value-parameter x: Any' type=kotlin.Any origin=null
FUN name:test1 visibility:public modality:FINAL <> (x:kotlin.Any) returnType:Unit flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Any flags:
@@ -22,7 +22,7 @@ FILE fqName:<root> fileName:/smartCasts.kt
BRANCH
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.String
GET_VAR 'value-parameter x: Any' type=kotlin.Any origin=null
then: RETURN type=kotlin.Nothing from=test1(Any): Unit'
then: RETURN type=kotlin.Nothing from='test1(Any): Unit'
GET_OBJECT 'Unit' type=kotlin.Unit
CALL 'println(Int): Unit' type=kotlin.Unit origin=null
message: CALL '<get-length>(): Int' type=kotlin.Int origin=GET_PROPERTY
@@ -46,9 +46,9 @@ FILE fqName:<root> fileName:/smartCasts.kt
BRANCH
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.String
GET_VAR 'value-parameter x: Any' type=kotlin.Any origin=null
then: RETURN type=kotlin.Nothing from=test2(Any): String'
then: RETURN type=kotlin.Nothing from='test2(Any): String'
CONST String type=kotlin.String value=
RETURN type=kotlin.Nothing from=test2(Any): String'
RETURN type=kotlin.Nothing from='test2(Any): String'
CALL 'overloaded(String): String' type=kotlin.String origin=null
s: TYPE_OP type=kotlin.String origin=IMPLICIT_CAST typeOperand=kotlin.String
GET_VAR 'value-parameter x: Any' type=kotlin.Any origin=null
@@ -59,9 +59,9 @@ FILE fqName:<root> fileName:/smartCasts.kt
BRANCH
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.String
GET_VAR 'value-parameter x: Any' type=kotlin.Any origin=null
then: RETURN type=kotlin.Nothing from=test3(Any): String'
then: RETURN type=kotlin.Nothing from='test3(Any): String'
CONST String type=kotlin.String value=
RETURN type=kotlin.Nothing from=test3(Any): String'
RETURN type=kotlin.Nothing from='test3(Any): String'
TYPE_OP type=kotlin.String origin=IMPLICIT_CAST typeOperand=kotlin.String
GET_VAR 'value-parameter x: Any' type=kotlin.Any origin=null
@@ -20,12 +20,12 @@ FILE fqName:<root> fileName:/smartCastsWithDestructuring.kt
FUN name:component1 visibility:public modality:FINAL <> ($receiver:I1) returnType:Int flags:
$receiver: VALUE_PARAMETER name:<this> type:I1 flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=component1() on I1: Int'
RETURN type=kotlin.Nothing from='component1() on I1: Int'
CONST Int type=kotlin.Int value=1
FUN name:component2 visibility:public modality:FINAL <> ($receiver:I2) returnType:String flags:
$receiver: VALUE_PARAMETER name:<this> type:I2 flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=component2() on I2: String'
RETURN type=kotlin.Nothing from='component2() on I2: String'
CONST String type=kotlin.String value=
FUN name:test visibility:public modality:FINAL <> (x:I1) returnType:Unit flags:
VALUE_PARAMETER name:x index:0 type:I1 flags:
@@ -34,7 +34,7 @@ FILE fqName:<root> fileName:/smartCastsWithDestructuring.kt
BRANCH
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=I2
GET_VAR 'value-parameter x: I1' type=I1 origin=null
then: RETURN type=kotlin.Nothing from=test(I1): Unit'
then: RETURN type=kotlin.Nothing from='test(I1): Unit'
GET_OBJECT 'Unit' type=kotlin.Unit
COMPOSITE type=kotlin.Unit origin=DESTRUCTURING_DECLARATION
VAR IR_TEMPORARY_VARIABLE name:tmp0_container type:I1 flags:val
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/stringComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.String flags:
VALUE_PARAMETER name:b index:1 type:kotlin.String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(String, String): Boolean'
RETURN type=kotlin.Nothing from='test1(String, String): Boolean'
CALL 'GT0(Int): Boolean' type=kotlin.Boolean origin=GT
arg0: CALL 'compareTo(String): Int' type=kotlin.Int origin=GT
$this: GET_VAR 'value-parameter a: String' type=kotlin.String origin=null
@@ -12,7 +12,7 @@ FILE fqName:<root> fileName:/stringComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.String flags:
VALUE_PARAMETER name:b index:1 type:kotlin.String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(String, String): Boolean'
RETURN type=kotlin.Nothing from='test2(String, String): Boolean'
CALL 'LT0(Int): Boolean' type=kotlin.Boolean origin=LT
arg0: CALL 'compareTo(String): Int' type=kotlin.Int origin=LT
$this: GET_VAR 'value-parameter a: String' type=kotlin.String origin=null
@@ -21,7 +21,7 @@ FILE fqName:<root> fileName:/stringComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.String flags:
VALUE_PARAMETER name:b index:1 type:kotlin.String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test3(String, String): Boolean'
RETURN type=kotlin.Nothing from='test3(String, String): Boolean'
CALL 'GTEQ0(Int): Boolean' type=kotlin.Boolean origin=GTEQ
arg0: CALL 'compareTo(String): Int' type=kotlin.Int origin=GTEQ
$this: GET_VAR 'value-parameter a: String' type=kotlin.String origin=null
@@ -30,7 +30,7 @@ FILE fqName:<root> fileName:/stringComparisons.kt
VALUE_PARAMETER name:a index:0 type:kotlin.String flags:
VALUE_PARAMETER name:b index:1 type:kotlin.String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test4(String, String): Boolean'
RETURN type=kotlin.Nothing from='test4(String, String): Boolean'
CALL 'LTEQ0(Int): Boolean' type=kotlin.Boolean origin=LTEQ
arg0: CALL 'compareTo(String): Int' type=kotlin.Int origin=LTEQ
$this: GET_VAR 'value-parameter a: String' type=kotlin.String origin=null
+3 -3
View File
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/stringPlus.kt
VALUE_PARAMETER name:a index:0 type:kotlin.String flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Any flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(String, Any): String'
RETURN type=kotlin.Nothing from='test1(String, Any): String'
CALL 'plus(Any?): String' type=kotlin.String origin=PLUS
$this: GET_VAR 'value-parameter a: String' type=kotlin.String origin=null
other: GET_VAR 'value-parameter b: Any' type=kotlin.Any origin=null
@@ -11,7 +11,7 @@ FILE fqName:<root> fileName:/stringPlus.kt
VALUE_PARAMETER name:a index:0 type:kotlin.String flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(String, Int): String'
RETURN type=kotlin.Nothing from='test2(String, Int): String'
CALL 'plus(Any?): String' type=kotlin.String origin=PLUS
$this: CALL 'plus(Any?): String' type=kotlin.String origin=PLUS
$this: GET_VAR 'value-parameter a: String' type=kotlin.String origin=null
@@ -21,7 +21,7 @@ FILE fqName:<root> fileName:/stringPlus.kt
VALUE_PARAMETER name:a index:0 type:kotlin.String flags:
VALUE_PARAMETER name:b index:1 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test3(String, Int): String'
RETURN type=kotlin.Nothing from='test3(String, Int): String'
CALL 'plus(Any?): String' type=kotlin.String origin=PLUS
$this: CALL 'plus(Any?): String' type=kotlin.String origin=PLUS
$this: CALL 'plus(Any?): String' type=kotlin.String origin=PLUS
+11 -11
View File
@@ -1,7 +1,7 @@
FILE fqName:<root> fileName:/stringTemplates.kt
FUN name:foo visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=foo(): String'
RETURN type=kotlin.Nothing from='foo(): String'
CONST String type=kotlin.String value=
PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public
@@ -9,7 +9,7 @@ FILE fqName:<root> fileName:/stringTemplates.kt
CONST Int type=kotlin.Int value=42
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-x>(): Int'
RETURN type=kotlin.Nothing from='<get-x>(): Int'
GET_FIELD 'x: Int' type=kotlin.Int origin=null
PROPERTY name:test1 type:kotlin.String visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test1 type:kotlin.String visibility:public
@@ -17,7 +17,7 @@ FILE fqName:<root> fileName:/stringTemplates.kt
CONST String type=kotlin.String value=
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test1>(): String'
RETURN type=kotlin.Nothing from='<get-test1>(): String'
GET_FIELD 'test1: String' type=kotlin.String origin=null
PROPERTY name:test2 type:kotlin.String visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.String visibility:public
@@ -25,7 +25,7 @@ FILE fqName:<root> fileName:/stringTemplates.kt
CONST String type=kotlin.String value=abc
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test2>(): String'
RETURN type=kotlin.Nothing from='<get-test2>(): String'
GET_FIELD 'test2: String' type=kotlin.String origin=null
PROPERTY name:test3 type:kotlin.String visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test3 type:kotlin.String visibility:public
@@ -33,7 +33,7 @@ FILE fqName:<root> fileName:/stringTemplates.kt
CONST String type=kotlin.String value=
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test3> visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test3>(): String'
RETURN type=kotlin.Nothing from='<get-test3>(): String'
GET_FIELD 'test3: String' type=kotlin.String origin=null
PROPERTY name:test4 type:kotlin.String visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test4 type:kotlin.String visibility:public
@@ -41,7 +41,7 @@ FILE fqName:<root> fileName:/stringTemplates.kt
CONST String type=kotlin.String value=abc
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test4> visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test4>(): String'
RETURN type=kotlin.Nothing from='<get-test4>(): String'
GET_FIELD 'test4: String' type=kotlin.String origin=null
PROPERTY name:test5 type:kotlin.String visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test5 type:kotlin.String visibility:public
@@ -54,7 +54,7 @@ FILE fqName:<root> fileName:/stringTemplates.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test5> visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test5>(): String'
RETURN type=kotlin.Nothing from='<get-test5>(): String'
GET_FIELD 'test5: String' type=kotlin.String origin=null
PROPERTY name:test6 type:kotlin.String visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test6 type:kotlin.String visibility:public
@@ -65,7 +65,7 @@ FILE fqName:<root> fileName:/stringTemplates.kt
CALL 'foo(): String' type=kotlin.String origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test6> visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test6>(): String'
RETURN type=kotlin.Nothing from='<get-test6>(): String'
GET_FIELD 'test6: String' type=kotlin.String origin=null
PROPERTY name:test7 type:kotlin.String visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test7 type:kotlin.String visibility:public
@@ -74,7 +74,7 @@ FILE fqName:<root> fileName:/stringTemplates.kt
CALL '<get-test1>(): String' type=kotlin.String origin=GET_PROPERTY
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test7> visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test7>(): String'
RETURN type=kotlin.Nothing from='<get-test7>(): String'
GET_FIELD 'test7: String' type=kotlin.String origin=null
PROPERTY name:test8 type:kotlin.String visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test8 type:kotlin.String visibility:public
@@ -83,7 +83,7 @@ FILE fqName:<root> fileName:/stringTemplates.kt
CALL 'foo(): String' type=kotlin.String origin=null
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test8> visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test8>(): String'
RETURN type=kotlin.Nothing from='<get-test8>(): String'
GET_FIELD 'test8: String' type=kotlin.String origin=null
PROPERTY name:test9 type:kotlin.String visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test9 type:kotlin.String visibility:public
@@ -92,6 +92,6 @@ FILE fqName:<root> fileName:/stringTemplates.kt
CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test9> visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test9>(): String'
RETURN type=kotlin.Nothing from='<get-test9>(): String'
GET_FIELD 'test9: String' type=kotlin.String origin=null
@@ -14,7 +14,7 @@ FILE fqName:<root> fileName:/thisOfGenericOuterClass.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-x> visibility:public modality:FINAL <> ($this:Outer<T>) returnType:T flags:
$this: VALUE_PARAMETER name:<this> type:Outer<T> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-x>(): T'
RETURN type=kotlin.Nothing from='<get-x>(): T'
GET_FIELD 'x: T' type=T origin=null
receiver: GET_VAR 'this@Outer: Outer<T>' type=Outer<T> origin=null
CLASS CLASS name:Inner modality:OPEN visibility:public flags:
@@ -32,7 +32,7 @@ FILE fqName:<root> fileName:/thisOfGenericOuterClass.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-y> visibility:public modality:FINAL <> ($this:Outer<T>.Inner) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:Outer<T>.Inner flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-y>(): Int'
RETURN type=kotlin.Nothing from='<get-y>(): Int'
GET_FIELD 'y: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@Inner: Inner<T>' type=Outer<T>.Inner origin=null
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:Boolean flags:
@@ -52,7 +52,7 @@ FILE fqName:<root> fileName:/thisOfGenericOuterClass.kt
FUN name:test visibility:public modality:FINAL <> ($receiver:Outer<kotlin.Int>) returnType:Inner<Int> flags:
$receiver: VALUE_PARAMETER name:<this> type:Outer<kotlin.Int> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test() on Outer<Int>: Outer<Int>.Inner'
RETURN type=kotlin.Nothing from='test() on Outer<Int>: Outer<Int>.Inner'
BLOCK type=test.<no name provided> origin=OBJECT_LITERAL
CLASS CLASS name:<no name provided> modality:FINAL visibility:local flags:
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:test.<no name provided> flags:
@@ -73,7 +73,7 @@ FILE fqName:<root> fileName:/thisOfGenericOuterClass.kt
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-xx> visibility:public modality:FINAL <> ($this:test.<no name provided>) returnType:Int flags:
$this: VALUE_PARAMETER name:<this> type:test.<no name provided> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-xx>(): Int'
RETURN type=kotlin.Nothing from='<get-xx>(): Int'
GET_FIELD 'xx: Int' type=kotlin.Int origin=null
receiver: GET_VAR 'this@<no name provided>: <no name provided>' type=test.<no name provided> origin=null
PROPERTY FAKE_OVERRIDE name:y type:kotlin.Int visibility:public modality:FINAL flags:val
+1 -1
View File
@@ -12,7 +12,7 @@ FILE fqName:<root> fileName:/tryCatch.kt
CALL 'println(): Unit' type=kotlin.Unit origin=null
FUN name:test2 visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(): Int'
RETURN type=kotlin.Nothing from='test2(): Int'
TRY type=kotlin.Int
try: BLOCK type=kotlin.Int origin=null
CALL 'println(): Unit' type=kotlin.Unit origin=null
@@ -6,7 +6,7 @@ FILE fqName:<root> fileName:/tryCatchWithImplicitCast.kt
BRANCH
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.String
GET_VAR 'value-parameter a: Any' type=kotlin.Any origin=null
then: RETURN type=kotlin.Nothing from=testImplicitCast(Any): Unit'
then: RETURN type=kotlin.Nothing from='testImplicitCast(Any): Unit'
GET_OBJECT 'Unit' type=kotlin.Unit
VAR name:t type:kotlin.String flags:val
TRY type=kotlin.String
+1 -1
View File
@@ -2,7 +2,7 @@ FILE fqName:<root> fileName:/typeArguments.kt
FUN name:test1 visibility:public modality:FINAL <> (x:kotlin.Any) returnType:Boolean flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Any flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(Any): Boolean'
RETURN type=kotlin.Nothing from='test1(Any): Boolean'
WHEN type=kotlin.Boolean origin=ANDAND
BRANCH
if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=kotlin.Array<*>
+4 -4
View File
@@ -11,25 +11,25 @@ FILE fqName:<root> fileName:/typeOperators.kt
FUN name:test1 visibility:public modality:FINAL <> (x:kotlin.Any) returnType:Boolean flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Any flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(Any): Boolean'
RETURN type=kotlin.Nothing from='test1(Any): Boolean'
TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=IThing
GET_VAR 'value-parameter x: Any' type=kotlin.Any origin=null
FUN name:test2 visibility:public modality:FINAL <> (x:kotlin.Any) returnType:Boolean flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Any flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(Any): Boolean'
RETURN type=kotlin.Nothing from='test2(Any): Boolean'
TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=IThing
GET_VAR 'value-parameter x: Any' type=kotlin.Any origin=null
FUN name:test3 visibility:public modality:FINAL <> (x:kotlin.Any) returnType:IThing flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Any flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test3(Any): IThing'
RETURN type=kotlin.Nothing from='test3(Any): IThing'
TYPE_OP type=IThing origin=CAST typeOperand=IThing
GET_VAR 'value-parameter x: Any' type=kotlin.Any origin=null
FUN name:test4 visibility:public modality:FINAL <> (x:kotlin.Any) returnType:IThing? flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Any flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test4(Any): IThing?'
RETURN type=kotlin.Nothing from='test4(Any): IThing?'
TYPE_OP type=IThing? origin=SAFE_CAST typeOperand=IThing
GET_VAR 'value-parameter x: Any' type=kotlin.Any origin=null
+5 -5
View File
@@ -54,7 +54,7 @@ FILE fqName:<root> fileName:/values.kt
CONST Int type=kotlin.Int value=0
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-a> visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-a>(): Int'
RETURN type=kotlin.Nothing from='<get-a>(): Int'
GET_FIELD 'a: Int' type=kotlin.Int origin=null
CLASS CLASS name:Z modality:FINAL visibility:public flags:
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Z flags:
@@ -84,18 +84,18 @@ FILE fqName:<root> fileName:/values.kt
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
FUN name:test1 visibility:public modality:FINAL <> () returnType:Enum flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(): Enum'
RETURN type=kotlin.Nothing from='test1(): Enum'
GET_ENUM 'A' type=Enum
FUN name:test2 visibility:public modality:FINAL <> () returnType:A flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(): A'
RETURN type=kotlin.Nothing from='test2(): A'
GET_OBJECT 'A' type=A
FUN name:test3 visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test3(): Int'
RETURN type=kotlin.Nothing from='test3(): Int'
CALL '<get-a>(): Int' type=kotlin.Int origin=GET_PROPERTY
FUN name:test4 visibility:public modality:FINAL <> () returnType:Companion flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test4(): Z.Companion'
RETURN type=kotlin.Nothing from='test4(): Z.Companion'
GET_OBJECT 'companion object of Z' type=Z.Companion
+3 -3
View File
@@ -6,7 +6,7 @@ FILE fqName:<root> fileName:/vararg.kt
<reified T>: String
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test1> visibility:public modality:FINAL <> () returnType:Array<String> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test1>(): Array<String>'
RETURN type=kotlin.Nothing from='<get-test1>(): Array<String>'
GET_FIELD 'test1: Array<String>' type=kotlin.Array<kotlin.String> origin=null
PROPERTY name:test2 type:kotlin.Array<kotlin.String> visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test2 type:kotlin.Array<kotlin.String> visibility:public
@@ -19,7 +19,7 @@ FILE fqName:<root> fileName:/vararg.kt
CONST String type=kotlin.String value=3
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test2> visibility:public modality:FINAL <> () returnType:Array<String> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test2>(): Array<String>'
RETURN type=kotlin.Nothing from='<get-test2>(): Array<String>'
GET_FIELD 'test2: Array<String>' type=kotlin.Array<kotlin.String> origin=null
PROPERTY name:test3 type:kotlin.Array<kotlin.String> visibility:public modality:FINAL flags:val
FIELD PROPERTY_BACKING_FIELD name:test3 type:kotlin.Array<kotlin.String> visibility:public
@@ -35,6 +35,6 @@ FILE fqName:<root> fileName:/vararg.kt
CONST String type=kotlin.String value=4
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-test3> visibility:public modality:FINAL <> () returnType:Array<String> flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<get-test3>(): Array<String>'
RETURN type=kotlin.Nothing from='<get-test3>(): Array<String>'
GET_FIELD 'test3: Array<String>' type=kotlin.Array<kotlin.String> origin=null
@@ -6,9 +6,9 @@ FILE fqName:<root> fileName:/varargWithImplicitCast.kt
BRANCH
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.Int
GET_VAR 'value-parameter a: Any' type=kotlin.Any origin=null
then: RETURN type=kotlin.Nothing from=testScalar(Any): IntArray'
then: RETURN type=kotlin.Nothing from='testScalar(Any): IntArray'
CALL 'intArrayOf(vararg Int): IntArray' type=kotlin.IntArray origin=null
RETURN type=kotlin.Nothing from=testScalar(Any): IntArray'
RETURN type=kotlin.Nothing from='testScalar(Any): IntArray'
CALL 'intArrayOf(vararg Int): IntArray' type=kotlin.IntArray origin=null
elements: VARARG type=IntArray varargElementType=Int
TYPE_OP type=kotlin.Int origin=IMPLICIT_CAST typeOperand=kotlin.Int
@@ -20,9 +20,9 @@ FILE fqName:<root> fileName:/varargWithImplicitCast.kt
BRANCH
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.IntArray
GET_VAR 'value-parameter a: Any' type=kotlin.Any origin=null
then: RETURN type=kotlin.Nothing from=testSpread(Any): IntArray'
then: RETURN type=kotlin.Nothing from='testSpread(Any): IntArray'
CALL 'intArrayOf(vararg Int): IntArray' type=kotlin.IntArray origin=null
RETURN type=kotlin.Nothing from=testSpread(Any): IntArray'
RETURN type=kotlin.Nothing from='testSpread(Any): IntArray'
CALL 'intArrayOf(vararg Int): IntArray' type=kotlin.IntArray origin=null
elements: VARARG type=IntArray varargElementType=Int
SPREAD_ELEMENT
@@ -2,36 +2,36 @@ FILE fqName:<root> fileName:/variableAsFunctionCall.kt
FUN name:k visibility:public modality:FINAL <> ($receiver:kotlin.String) returnType:Function0<String> flags:
$receiver: VALUE_PARAMETER name:<this> type:kotlin.String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=k() on String: () -> String'
RETURN type=kotlin.Nothing from='k() on String: () -> String'
BLOCK type=() -> kotlin.String origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=<anonymous>(): String'
RETURN type=kotlin.Nothing from='<anonymous>(): String'
GET_VAR 'this@k: String' type=kotlin.String origin=null
FUNCTION_REFERENCE '<anonymous>(): String' type=() -> kotlin.String origin=LAMBDA
FUN name:test1 visibility:public modality:FINAL <> (f:() -> kotlin.Unit) returnType:Unit flags:
VALUE_PARAMETER name:f index:0 type:() -> kotlin.Unit flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1(() -> Unit): Unit'
RETURN type=kotlin.Nothing from='test1(() -> Unit): Unit'
CALL 'invoke(): Unit' type=kotlin.Unit origin=INVOKE
$this: GET_VAR 'value-parameter f: () -> Unit' type=() -> kotlin.Unit origin=VARIABLE_AS_FUNCTION
FUN name:test2 visibility:public modality:FINAL <> (f:kotlin.String.() -> kotlin.Unit) returnType:Unit flags:
VALUE_PARAMETER name:f index:0 type:kotlin.String.() -> kotlin.Unit flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2(String.() -> Unit): Unit'
RETURN type=kotlin.Nothing from='test2(String.() -> Unit): Unit'
CALL 'invoke(String): Unit' type=kotlin.Unit origin=INVOKE
$this: GET_VAR 'value-parameter f: String.() -> Unit' type=kotlin.String.() -> kotlin.Unit origin=VARIABLE_AS_FUNCTION
p1: CONST String type=kotlin.String value=hello
FUN name:test3 visibility:public modality:FINAL <> () returnType:String flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test3(): String'
RETURN type=kotlin.Nothing from='test3(): String'
CALL 'invoke(): String' type=kotlin.String origin=null
$this: CALL 'k() on String: () -> String' type=() -> kotlin.String origin=null
$receiver: CONST String type=kotlin.String value=hello
FUN name:test4 visibility:public modality:FINAL <> (ns:kotlin.String?) returnType:String? flags:
VALUE_PARAMETER name:ns index:0 type:kotlin.String? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test4(String?): String?'
RETURN type=kotlin.Nothing from='test4(String?): String?'
BLOCK type=kotlin.String? origin=SAFE_CALL
VAR IR_TEMPORARY_VARIABLE name:tmp1_safe_receiver type:(() -> kotlin.String)? flags:val
BLOCK type=(() -> kotlin.String)? origin=SAFE_CALL
+3 -3
View File
@@ -15,7 +15,7 @@ FILE fqName:<root> fileName:/when.kt
FUN name:testWithSubject visibility:public modality:FINAL <> (x:kotlin.Any?) returnType:String flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Any? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=testWithSubject(Any?): String'
RETURN type=kotlin.Nothing from='testWithSubject(Any?): String'
BLOCK type=kotlin.String origin=WHEN
VAR IR_TEMPORARY_VARIABLE name:tmp0_subject type:kotlin.Any? flags:val
GET_VAR 'value-parameter x: Any?' type=kotlin.Any? origin=null
@@ -47,7 +47,7 @@ FILE fqName:<root> fileName:/when.kt
FUN name:test visibility:public modality:FINAL <> (x:kotlin.Any?) returnType:String flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Any? flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test(Any?): String'
RETURN type=kotlin.Nothing from='test(Any?): String'
WHEN type=kotlin.String origin=WHEN
BRANCH
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
@@ -76,7 +76,7 @@ FILE fqName:<root> fileName:/when.kt
FUN name:testComma visibility:public modality:FINAL <> (x:kotlin.Int) returnType:String flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=testComma(Int): String'
RETURN type=kotlin.Nothing from='testComma(Int): String'
BLOCK type=kotlin.String origin=WHEN
VAR IR_TEMPORARY_VARIABLE name:tmp0_subject type:kotlin.Int flags:val
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
+1 -1
View File
@@ -1,7 +1,7 @@
FILE fqName:<root> fileName:/whenElse.kt
FUN name:test visibility:public modality:FINAL <> () returnType:Int flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from=test(): Int'
RETURN type=kotlin.Nothing from='test(): Int'
WHEN type=kotlin.Int origin=WHEN
BRANCH
if: CONST Boolean type=kotlin.Boolean value=true
+6 -6
View File
@@ -10,30 +10,30 @@ FILE fqName:<root> fileName:/whenReturn.kt
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
arg0: GET_VAR 'tmp0_subject: String' type=kotlin.String origin=null
arg1: CONST String type=kotlin.String value=A
then: RETURN type=kotlin.Nothing from=toString(String): String'
then: RETURN type=kotlin.Nothing from='toString(String): String'
CONST String type=kotlin.String value=Excellent
BRANCH
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
arg0: GET_VAR 'tmp0_subject: String' type=kotlin.String origin=null
arg1: CONST String type=kotlin.String value=B
then: RETURN type=kotlin.Nothing from=toString(String): String'
then: RETURN type=kotlin.Nothing from='toString(String): String'
CONST String type=kotlin.String value=Good
BRANCH
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
arg0: GET_VAR 'tmp0_subject: String' type=kotlin.String origin=null
arg1: CONST String type=kotlin.String value=C
then: RETURN type=kotlin.Nothing from=toString(String): String'
then: RETURN type=kotlin.Nothing from='toString(String): String'
CONST String type=kotlin.String value=Mediocre
BRANCH
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
arg0: GET_VAR 'tmp0_subject: String' type=kotlin.String origin=null
arg1: CONST String type=kotlin.String value=D
then: RETURN type=kotlin.Nothing from=toString(String): String'
then: RETURN type=kotlin.Nothing from='toString(String): String'
CONST String type=kotlin.String value=Fair
BRANCH
if: CONST Boolean type=kotlin.Boolean value=true
then: RETURN type=kotlin.Nothing from=toString(String): String'
then: RETURN type=kotlin.Nothing from='toString(String): String'
CONST String type=kotlin.String value=Failure
RETURN type=kotlin.Nothing from=toString(String): String'
RETURN type=kotlin.Nothing from='toString(String): String'
CONST String type=kotlin.String value=???