Fix IrType rendering, update testData
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
FILE fqName:<root> fileName:/arrayAssignment.kt
|
||||
FUN name:test visibility:public modality:FINAL <> () returnType:Unit flags:
|
||||
FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
BLOCK_BODY
|
||||
VAR name:x type:kotlin.IntArray flags:val
|
||||
CALL 'intArrayOf(vararg Int): IntArray' type=kotlin.IntArray origin=null
|
||||
elements: VARARG type=IntArray varargElementType=Int
|
||||
elements: VARARG type=kotlin.IntArray varargElementType=kotlin.Int
|
||||
CONST Int type=kotlin.Int value=1
|
||||
CONST Int type=kotlin.Int value=2
|
||||
CONST Int type=kotlin.Int value=3
|
||||
@@ -11,18 +11,17 @@ FILE fqName:<root> fileName:/arrayAssignment.kt
|
||||
$this: GET_VAR 'x: IntArray' type=kotlin.IntArray origin=null
|
||||
index: CONST Int type=kotlin.Int value=1
|
||||
value: CONST Int type=kotlin.Int value=0
|
||||
FUN name:foo visibility:public modality:FINAL <> () returnType:Int flags:
|
||||
FUN name:foo visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='foo(): Int'
|
||||
CONST Int type=kotlin.Int value=1
|
||||
FUN name:test2 visibility:public modality:FINAL <> () returnType:Unit flags:
|
||||
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
|
||||
BLOCK_BODY
|
||||
CALL 'set(Int, Int): Unit' type=kotlin.Unit origin=EQ
|
||||
$this: CALL 'intArrayOf(vararg Int): IntArray' type=kotlin.IntArray origin=null
|
||||
elements: VARARG type=IntArray varargElementType=Int
|
||||
elements: VARARG type=kotlin.IntArray varargElementType=kotlin.Int
|
||||
CONST Int type=kotlin.Int value=1
|
||||
CONST Int type=kotlin.Int value=2
|
||||
CONST Int type=kotlin.Int value=3
|
||||
index: CALL 'foo(): Int' type=kotlin.Int origin=null
|
||||
value: CONST Int type=kotlin.Int value=1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user