Introduce IrGetValue as a replacement for IrThisReference / IrGetExtensionReceiver / IrGetVariable.
This commit is contained in:
+1
-1
@@ -11,5 +11,5 @@ FILE /extensionLambda.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>() on String: Int'
|
||||
CALL '<get-length>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: $RECEIVER of '<anonymous>() on String: Int' type=kotlin.String
|
||||
$this: GET_VAR '<receiver: <anonymous>() on String: Int>' type=kotlin.String origin=null
|
||||
CALLABLE_REFERENCE '<anonymous>() on String: Int' type=kotlin.String.() -> kotlin.Int origin=LAMBDA
|
||||
|
||||
@@ -48,10 +48,10 @@ FILE /multipleImplicitReceivers.kt
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<anonymous>() on IInvoke: Int'
|
||||
CALL 'invoke() on B: Int' type=kotlin.Int origin=INVOKE
|
||||
$this: $RECEIVER of '<anonymous>() on IInvoke: Int' type=IInvoke
|
||||
$this: GET_VAR '<receiver: <anonymous>() on IInvoke: Int>' type=IInvoke origin=null
|
||||
$receiver: CALL '<get-foo>() on A: B' type=B origin=GET_PROPERTY
|
||||
$this: $RECEIVER of '<anonymous>() on IFoo: Int' type=IFoo
|
||||
$receiver: $RECEIVER of '<anonymous>() on A: Int' type=A
|
||||
$this: GET_VAR '<receiver: <anonymous>() on IFoo: Int>' type=IFoo origin=null
|
||||
$receiver: GET_VAR '<receiver: <anonymous>() on A: Int>' type=A origin=null
|
||||
CALLABLE_REFERENCE '<anonymous>() on IInvoke: Int' type=IInvoke.() -> kotlin.Int origin=LAMBDA
|
||||
CALLABLE_REFERENCE '<anonymous>() on IFoo: Int' type=IFoo.() -> kotlin.Int origin=LAMBDA
|
||||
CALLABLE_REFERENCE '<anonymous>() on A: Int' type=A.() -> kotlin.Int origin=LAMBDA
|
||||
|
||||
Reference in New Issue
Block a user