Include declaration origin in testData.
This commit is contained in:
committed by
Dmitry Petrov
parent
c2a7890ac4
commit
c699e2d24c
@@ -1,13 +1,13 @@
|
||||
FILE /anonymousFunction.kt
|
||||
PROPERTY public val anonymous: () -> kotlin.Unit
|
||||
FIELD public val anonymous: () -> kotlin.Unit
|
||||
FIELD PROPERTY_BACKING_FIELD public val anonymous: () -> kotlin.Unit
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=() -> kotlin.Unit operator=ANONYMOUS_FUNCTION
|
||||
FUN local final fun <no name provided>(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'println(): Unit' type=kotlin.Unit operator=null
|
||||
CALLABLE_REFERENCE '<no name provided>(): Unit' type=() -> kotlin.Unit operator=ANONYMOUS_FUNCTION
|
||||
FUN public fun <get-anonymous>(): () -> kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-anonymous>(): () -> kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-anonymous>(): () -> Unit'
|
||||
GET_BACKING_FIELD 'anonymous: () -> Unit' type=() -> kotlin.Unit operator=null
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ FILE /extensionLambda.kt
|
||||
CALL 'run(String.() -> Int) on String: Int' type=kotlin.Int operator=null
|
||||
$receiver: CONST String type=kotlin.String value='42'
|
||||
block: BLOCK type=kotlin.String.() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun kotlin.String.<anonymous>(): kotlin.Int
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun kotlin.String.<anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>() on String: Int'
|
||||
CALL '<get-length>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
|
||||
+6
-6
@@ -1,26 +1,26 @@
|
||||
FILE /justLambda.kt
|
||||
PROPERTY public val test1: () -> kotlin.Int
|
||||
FIELD public val test1: () -> kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public val test1: () -> kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Int
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Int'
|
||||
CONST Int type=kotlin.Int value='42'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Int' type=() -> kotlin.Int operator=LAMBDA
|
||||
FUN public fun <get-test1>(): () -> kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): () -> kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): () -> Int'
|
||||
GET_BACKING_FIELD 'test1: () -> Int' type=() -> kotlin.Int operator=null
|
||||
PROPERTY public val test2: () -> kotlin.Unit
|
||||
FIELD public val test2: () -> kotlin.Unit
|
||||
FIELD PROPERTY_BACKING_FIELD public val test2: () -> kotlin.Unit
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=() -> kotlin.Unit operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Unit
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Unit' type=() -> kotlin.Unit operator=LAMBDA
|
||||
FUN public fun <get-test2>(): () -> kotlin.Unit
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test2>(): () -> kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): () -> Unit'
|
||||
GET_BACKING_FIELD 'test2: () -> Unit' type=() -> kotlin.Unit operator=null
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ FILE /localFunction.kt
|
||||
FUN local final fun local(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
VAR val tmp0: kotlin.Int
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0: kotlin.Int
|
||||
GET_VAR 'x: Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
SET_VAR 'x: Int' type=kotlin.Unit operator=POSTFIX_INCR
|
||||
CALL 'inc(): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
|
||||
@@ -25,19 +25,19 @@ FILE /multipleImplicitReceivers.kt
|
||||
CALL 'with(A, A.() -> Int): Int' type=kotlin.Int operator=null
|
||||
receiver: GET_OBJECT 'A' type=A
|
||||
block: BLOCK type=A.() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun A.<anonymous>(): kotlin.Int
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun A.<anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>() on A: Int'
|
||||
CALL 'with(IFoo, IFoo.() -> Int): Int' type=kotlin.Int operator=null
|
||||
receiver: GET_VAR 'value-parameter fooImpl: IFoo' type=IFoo operator=null
|
||||
block: BLOCK type=IFoo.() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun IFoo.<anonymous>(): kotlin.Int
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun IFoo.<anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>() on IFoo: Int'
|
||||
CALL 'with(IInvoke, IInvoke.() -> Int): Int' type=kotlin.Int operator=null
|
||||
receiver: GET_VAR 'value-parameter invokeImpl: IInvoke' type=IInvoke operator=null
|
||||
block: BLOCK type=IInvoke.() -> kotlin.Int operator=LAMBDA
|
||||
FUN local final fun IInvoke.<anonymous>(): kotlin.Int
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun IInvoke.<anonymous>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>() on IInvoke: Int'
|
||||
CALL 'invoke() on B: Int' type=kotlin.Int operator=INVOKE
|
||||
|
||||
+5
-5
@@ -3,7 +3,7 @@ FILE /nonLocalReturn.kt
|
||||
BLOCK_BODY
|
||||
CALL 'run(() -> Nothing): Nothing' type=kotlin.Nothing operator=null
|
||||
block: BLOCK type=() -> kotlin.Nothing operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Nothing
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Nothing
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test0(): Unit'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Nothing' type=() -> kotlin.Nothing operator=LAMBDA
|
||||
@@ -11,7 +11,7 @@ FILE /nonLocalReturn.kt
|
||||
BLOCK_BODY
|
||||
CALL 'run(() -> Unit): Unit' type=kotlin.Unit operator=null
|
||||
block: BLOCK type=() -> kotlin.Unit operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Unit
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Unit' type=() -> kotlin.Unit operator=LAMBDA
|
||||
@@ -19,7 +19,7 @@ FILE /nonLocalReturn.kt
|
||||
BLOCK_BODY
|
||||
CALL 'run(() -> Unit): Unit' type=kotlin.Unit operator=null
|
||||
block: BLOCK type=() -> kotlin.Unit operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Unit
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
CALLABLE_REFERENCE '<anonymous>(): Unit' type=() -> kotlin.Unit operator=LAMBDA
|
||||
@@ -28,7 +28,7 @@ FILE /nonLocalReturn.kt
|
||||
CALL 'forEach((Int) -> Unit) on Iterable<Int>: Unit' type=kotlin.Unit operator=null
|
||||
$receiver: GET_VAR 'value-parameter ints: List<Int>' type=kotlin.collections.List<kotlin.Int> operator=null
|
||||
action: BLOCK type=(kotlin.Int) -> kotlin.Unit operator=LAMBDA
|
||||
FUN local final fun <anonymous>(it: kotlin.Int): kotlin.Unit
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(it: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit operator=IF
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
@@ -44,7 +44,7 @@ FILE /nonLocalReturn.kt
|
||||
CALL 'forEach((Int) -> Unit) on Iterable<Int>: Unit' type=kotlin.Unit operator=null
|
||||
$receiver: GET_VAR 'value-parameter ints: List<Int>' type=kotlin.collections.List<kotlin.Int> operator=null
|
||||
action: BLOCK type=(kotlin.Int) -> kotlin.Unit operator=LAMBDA
|
||||
FUN local final fun <anonymous>(it: kotlin.Int): kotlin.Unit
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(it: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit operator=IF
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQ
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ FILE /samAdapter.kt
|
||||
VAR val hello: java.lang.Runnable
|
||||
CALL 'Runnable(() -> Unit): Runnable' type=java.lang.Runnable operator=null
|
||||
function: BLOCK type=() -> kotlin.Unit operator=LAMBDA
|
||||
FUN local final fun <anonymous>(): kotlin.Unit
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA local final fun <anonymous>(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>(): Unit'
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
|
||||
Reference in New Issue
Block a user