Fix IrType rendering, update testData
This commit is contained in:
+6
-6
@@ -1,18 +1,18 @@
|
||||
FILE fqName:<root> fileName:/calls.kt
|
||||
FUN name:foo visibility:public modality:FINAL <> (x:kotlin.Int, y:kotlin.Int) returnType:Int flags:
|
||||
FUN name:foo visibility:public modality:FINAL <> (x:kotlin.Int, y:kotlin.Int) returnType:kotlin.Int flags:
|
||||
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'
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
FUN name:bar visibility:public modality:FINAL <> (x:kotlin.Int) returnType:Int flags:
|
||||
FUN name:bar visibility:public modality:FINAL <> (x:kotlin.Int) returnType:kotlin.Int flags:
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
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:
|
||||
FUN name:qux visibility:public modality:FINAL <> (x:kotlin.Int) returnType:kotlin.Int flags:
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='qux(Int): Int'
|
||||
@@ -21,12 +21,12 @@ FILE fqName:<root> fileName:/calls.kt
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
FUN name:ext1 visibility:public modality:FINAL <> ($receiver:kotlin.Int) returnType:Int flags:
|
||||
FUN name:ext1 visibility:public modality:FINAL <> ($receiver:kotlin.Int) returnType:kotlin.Int flags:
|
||||
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
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:
|
||||
FUN name:ext2 visibility:public modality:FINAL <> ($receiver:kotlin.Int, x:kotlin.Int) returnType:kotlin.Int flags:
|
||||
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int flags:
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
@@ -34,7 +34,7 @@ FILE fqName:<root> fileName:/calls.kt
|
||||
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
|
||||
FUN name:ext3 visibility:public modality:FINAL <> ($receiver:kotlin.Int, x:kotlin.Int) returnType:Int flags:
|
||||
FUN name:ext3 visibility:public modality:FINAL <> ($receiver:kotlin.Int, x:kotlin.Int) returnType:kotlin.Int flags:
|
||||
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int flags:
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
|
||||
Reference in New Issue
Block a user