Fix IrType rendering, update testData

This commit is contained in:
Dmitry Petrov
2018-06-27 15:44:31 +03:00
parent 7fd3fac122
commit 799fcc2606
257 changed files with 537426 additions and 7192 deletions
@@ -1,31 +1,31 @@
FILE fqName:<root> fileName:/simpleUnaryOperators.kt
FUN name:test1 visibility:public modality:FINAL <> (x:kotlin.Int) returnType:Int flags:
FUN name:test1 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='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:
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
BLOCK_BODY
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:
FUN name:test3 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='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:
FUN name:test4 visibility:public modality:FINAL <> () returnType:kotlin.Int flags:
BLOCK_BODY
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:
FUN name:test5 visibility:public modality:FINAL <> (x:kotlin.Boolean) returnType:kotlin.Boolean flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Boolean flags:
BLOCK_BODY
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:
FUN name:test6 visibility:public modality:FINAL <> () returnType:kotlin.Boolean flags:
BLOCK_BODY
RETURN type=kotlin.Nothing from='test6(): Boolean'
CONST Boolean type=kotlin.Boolean value=false