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,5 +1,6 @@
FILE /delegatedMembers.kt
CLASS INTERFACE IBase
$this: VALUE_PARAMETER this@IBase: IBase<T>
TYPE_PARAMETER <T>
FUN public abstract fun foo(x: kotlin.Int): kotlin.Unit
$this: VALUE_PARAMETER this@IBase: IBase<T>
@@ -16,7 +17,7 @@ FILE /delegatedMembers.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<TT>
$this: VALUE_PARAMETER this@Test: Test<TT>
TYPE_PARAMETER <TT>
CONSTRUCTOR public constructor Test<TT>(impl: IBase<TT>)
VALUE_PARAMETER value-parameter impl: IBase<TT>