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,7 +1,9 @@
FILE /class.kt
CLASS INTERFACE TestInterface
$this: VALUE_PARAMETER this@TestInterface: TestInterface<T>
TYPE_PARAMETER <T>
CLASS INTERFACE TestNestedInterface
$this: VALUE_PARAMETER this@TestNestedInterface: TestNestedInterface<TT>
TYPE_PARAMETER <TT>
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
@@ -10,14 +12,14 @@ FILE /class.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS Test
$new: VALUE_PARAMETER this@Test: Test<T0>
$this: VALUE_PARAMETER this@Test: Test<T0>
TYPE_PARAMETER <T0>
CONSTRUCTOR public constructor Test<T0>()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Test'
CLASS CLASS TestNested
$new: VALUE_PARAMETER this@TestNested: TestNested<T1>
$this: VALUE_PARAMETER this@TestNested: TestNested<T1>
TYPE_PARAMETER <T1>
CONSTRUCTOR public constructor TestNested<T1>()
BLOCK_BODY
@@ -27,7 +29,7 @@ FILE /class.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInner
$new: VALUE_PARAMETER this@TestInner: TestInner<T2, T0>
$this: VALUE_PARAMETER this@TestInner: TestInner<T2, T0>
TYPE_PARAMETER <T2>
CONSTRUCTOR public constructor TestInner<T2>()
$outer: VALUE_PARAMETER this@Test: Test<T0>