Put 'thisReceiver' declaration in class

Interfaces also have 'thisReceiver'
This commit is contained in:
Dmitry Petrov
2017-05-02 10:54:56 +03:00
parent 90ec53b3b0
commit fa4dc26814
103 changed files with 439 additions and 205 deletions
@@ -1,6 +1,6 @@
FILE /destructuringInLambda.kt
CLASS CLASS A
$new: VALUE_PARAMETER this@A: A
$this: VALUE_PARAMETER this@A: A
CONSTRUCTOR public constructor A(x: kotlin.Int, y: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter y: kotlin.Int
@@ -1,6 +1,6 @@
FILE /multipleImplicitReceivers.kt
CLASS OBJECT A
$new: VALUE_PARAMETER this@A: A
$this: VALUE_PARAMETER this@A: A
CONSTRUCTOR private constructor A()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -9,7 +9,7 @@ FILE /multipleImplicitReceivers.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT B
$new: VALUE_PARAMETER this@B: B
$this: VALUE_PARAMETER this@B: B
CONSTRUCTOR private constructor B()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -18,6 +18,7 @@ FILE /multipleImplicitReceivers.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE IFoo
$this: VALUE_PARAMETER this@IFoo: IFoo
PROPERTY public open val A.foo: B
FUN public open fun A.<get-foo>(): B
$this: VALUE_PARAMETER this@IFoo: IFoo
@@ -29,6 +30,7 @@ FILE /multipleImplicitReceivers.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE IInvoke
$this: VALUE_PARAMETER this@IInvoke: IInvoke
FUN public open operator fun B.invoke(): kotlin.Int
$this: VALUE_PARAMETER this@IInvoke: IInvoke
$receiver: VALUE_PARAMETER this@invoke: B