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 /delegatedImplementationWithExplicitOverride.kt
CLASS INTERFACE IFooBar
$this: VALUE_PARAMETER this@IFooBar: IFooBar
FUN public abstract fun foo(): kotlin.Unit
$this: VALUE_PARAMETER this@IFooBar: IFooBar
FUN public abstract fun bar(): kotlin.Unit
@@ -8,7 +9,7 @@ FILE /delegatedImplementationWithExplicitOverride.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT FooBarImpl
$new: VALUE_PARAMETER this@FooBarImpl: FooBarImpl
$this: VALUE_PARAMETER this@FooBarImpl: FooBarImpl
CONSTRUCTOR private constructor FooBarImpl()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -23,7 +24,7 @@ FILE /delegatedImplementationWithExplicitOverride.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS C
$new: VALUE_PARAMETER this@C: C
$this: VALUE_PARAMETER this@C: C
CONSTRUCTOR public constructor C()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'