Put 'thisReceiver' declaration in class
Interfaces also have 'thisReceiver'
This commit is contained in:
+3
-2
@@ -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()'
|
||||
|
||||
Reference in New Issue
Block a user