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
+5 -4
View File
@@ -1,6 +1,6 @@
FILE /classes.kt
CLASS CLASS TestClass
$new: VALUE_PARAMETER this@TestClass: TestClass
$this: VALUE_PARAMETER this@TestClass: TestClass
CONSTRUCTOR public constructor TestClass()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -9,11 +9,12 @@ FILE /classes.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS INTERFACE TestInterface
$this: VALUE_PARAMETER this@TestInterface: TestInterface
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS OBJECT TestObject
$new: VALUE_PARAMETER this@TestObject: TestObject
$this: VALUE_PARAMETER this@TestObject: TestObject
CONSTRUCTOR private constructor TestObject()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -22,12 +23,12 @@ FILE /classes.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS ANNOTATION_CLASS TestAnnotationClass
$new: VALUE_PARAMETER this@TestAnnotationClass: TestAnnotationClass
$this: VALUE_PARAMETER this@TestAnnotationClass: TestAnnotationClass
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS ENUM_CLASS TestEnumClass
$new: VALUE_PARAMETER this@TestEnumClass: TestEnumClass
$this: VALUE_PARAMETER this@TestEnumClass: TestEnumClass
CONSTRUCTOR private constructor TestEnumClass()
BLOCK_BODY
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'