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 /objectWithInitializers.kt
CLASS CLASS Base
$new: VALUE_PARAMETER this@Base: Base
$this: VALUE_PARAMETER this@Base: Base
CONSTRUCTOR public constructor Base()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -9,7 +9,7 @@ FILE /objectWithInitializers.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT Test
$new: VALUE_PARAMETER this@Test: Test
$this: VALUE_PARAMETER this@Test: Test
CONSTRUCTOR private constructor Test()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'