testData format update: detailed descriptor rendering.

This commit is contained in:
Dmitry Petrov
2016-09-06 11:27:06 +03:00
committed by Dmitry Petrov
parent 993c3fe51e
commit 4e112b3f88
92 changed files with 2105 additions and 2100 deletions
+20 -20
View File
@@ -1,27 +1,27 @@
FILE /stringPlus.kt
FUN public fun test1(/*0*/ a: kotlin.String, /*1*/ b: kotlin.Any): kotlin.String
FUN public fun test1(a: kotlin.String, b: kotlin.Any): kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from=test1
CALL .plus type=kotlin.String operator=PLUS
$this: GET_VAR a type=kotlin.String operator=null
other: GET_VAR b type=kotlin.Any operator=null
FUN public fun test2(/*0*/ a: kotlin.String, /*1*/ b: kotlin.Int): kotlin.String
RETURN type=kotlin.Nothing from='test1(String, Any): String'
CALL 'plus(Any?): String' type=kotlin.String operator=PLUS
$this: GET_VAR 'value-parameter a: String' type=kotlin.String operator=null
other: GET_VAR 'value-parameter b: Any' type=kotlin.Any operator=null
FUN public fun test2(a: kotlin.String, b: kotlin.Int): kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from=test2
CALL .plus type=kotlin.String operator=PLUS
$this: CALL .plus type=kotlin.String operator=PLUS
$this: GET_VAR a type=kotlin.String operator=null
RETURN type=kotlin.Nothing from='test2(String, Int): String'
CALL 'plus(Any?): String' type=kotlin.String operator=PLUS
$this: CALL 'plus(Any?): String' type=kotlin.String operator=PLUS
$this: GET_VAR 'value-parameter a: String' type=kotlin.String operator=null
other: CONST String type=kotlin.String value='+'
other: GET_VAR b type=kotlin.Int operator=null
FUN public fun test3(/*0*/ a: kotlin.String, /*1*/ b: kotlin.Int): kotlin.String
other: GET_VAR 'value-parameter b: Int' type=kotlin.Int operator=null
FUN public fun test3(a: kotlin.String, b: kotlin.Int): kotlin.String
BLOCK_BODY
RETURN type=kotlin.Nothing from=test3
CALL .plus type=kotlin.String operator=PLUS
$this: CALL .plus type=kotlin.String operator=PLUS
$this: CALL .plus type=kotlin.String operator=PLUS
$this: GET_VAR a type=kotlin.String operator=null
RETURN type=kotlin.Nothing from='test3(String, Int): String'
CALL 'plus(Any?): String' type=kotlin.String operator=PLUS
$this: CALL 'plus(Any?): String' type=kotlin.String operator=PLUS
$this: CALL 'plus(Any?): String' type=kotlin.String operator=PLUS
$this: GET_VAR 'value-parameter a: String' type=kotlin.String operator=null
other: CONST String type=kotlin.String value='+'
other: CALL .plus type=kotlin.Int operator=PLUS
$this: GET_VAR b type=kotlin.Int operator=null
other: CALL 'plus(Int): Int' type=kotlin.Int operator=PLUS
$this: GET_VAR 'value-parameter b: Int' type=kotlin.Int operator=null
other: CONST Int type=kotlin.Int value='1'
other: GET_VAR a type=kotlin.String operator=null
other: GET_VAR 'value-parameter a: String' type=kotlin.String operator=null