Files
kotlin-fork/compiler/testData/ir/irText/expressions/interfaceThisRef.txt
T
Dmitry Petrov fa4dc26814 Put 'thisReceiver' declaration in class
Interfaces also have 'thisReceiver'
2017-05-04 09:33:03 +03:00

14 lines
643 B
Plaintext
Vendored

FILE /interfaceThisRef.kt
CLASS INTERFACE IFoo
$this: VALUE_PARAMETER this@IFoo: IFoo
FUN public abstract fun foo(): kotlin.Unit
$this: VALUE_PARAMETER this@IFoo: IFoo
FUN public open fun bar(): kotlin.Unit
$this: VALUE_PARAMETER this@IFoo: IFoo
BLOCK_BODY
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_VAR 'this@IFoo: IFoo' type=IFoo origin=null
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String