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
+27 -27
View File
@@ -1,36 +1,36 @@
FILE /calls.kt
FUN public fun foo(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.Int): kotlin.Int
FUN public fun foo(x: kotlin.Int, y: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from=foo
GET_VAR x type=kotlin.Int operator=null
FUN public fun bar(/*0*/ x: kotlin.Int): kotlin.Int
RETURN type=kotlin.Nothing from='foo(Int, Int): Int'
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
FUN public fun bar(x: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from=bar
CALL .foo type=kotlin.Int operator=null
x: GET_VAR x type=kotlin.Int operator=null
RETURN type=kotlin.Nothing from='bar(Int): Int'
CALL 'foo(Int, Int): Int' type=kotlin.Int operator=null
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
y: CONST Int type=kotlin.Int value='1'
FUN public fun qux(/*0*/ x: kotlin.Int): kotlin.Int
FUN public fun qux(x: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from=qux
CALL .foo type=kotlin.Int operator=null
x: CALL .foo type=kotlin.Int operator=null
x: GET_VAR x type=kotlin.Int operator=null
y: GET_VAR x type=kotlin.Int operator=null
y: GET_VAR x type=kotlin.Int operator=null
RETURN type=kotlin.Nothing from='qux(Int): Int'
CALL 'foo(Int, Int): Int' type=kotlin.Int operator=null
x: CALL 'foo(Int, Int): Int' type=kotlin.Int operator=null
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
FUN public fun kotlin.Int.ext1(): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from=ext1
$RECEIVER of: ext1 type=kotlin.Int
FUN public fun kotlin.Int.ext2(/*0*/ x: kotlin.Int): kotlin.Int
RETURN type=kotlin.Nothing from='ext1() on Int: Int'
$RECEIVER of 'ext1() on Int: Int' type=kotlin.Int
FUN public fun kotlin.Int.ext2(x: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from=ext2
CALL .foo type=kotlin.Int operator=null
x: $RECEIVER of: ext2 type=kotlin.Int
y: GET_VAR x type=kotlin.Int operator=null
FUN public fun kotlin.Int.ext3(/*0*/ x: kotlin.Int): kotlin.Int
RETURN type=kotlin.Nothing from='ext2(Int) on Int: Int'
CALL 'foo(Int, Int): Int' type=kotlin.Int operator=null
x: $RECEIVER of 'ext2(Int) on Int: Int' type=kotlin.Int
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
FUN public fun kotlin.Int.ext3(x: kotlin.Int): kotlin.Int
BLOCK_BODY
RETURN type=kotlin.Nothing from=ext3
CALL .foo type=kotlin.Int operator=null
x: CALL .ext1 type=kotlin.Int operator=null
$receiver: $RECEIVER of: ext3 type=kotlin.Int
y: GET_VAR x type=kotlin.Int operator=null
RETURN type=kotlin.Nothing from='ext3(Int) on Int: Int'
CALL 'foo(Int, Int): Int' type=kotlin.Int operator=null
x: CALL 'ext1() on Int: Int' type=kotlin.Int operator=null
$receiver: $RECEIVER of 'ext3(Int) on Int: Int' type=kotlin.Int
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null