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
+3 -3
View File
@@ -1,6 +1,6 @@
FILE /initVal.kt
CLASS CLASS TestInitValFromParameter
$new: VALUE_PARAMETER this@TestInitValFromParameter: TestInitValFromParameter
$this: VALUE_PARAMETER this@TestInitValFromParameter: TestInitValFromParameter
CONSTRUCTOR public constructor TestInitValFromParameter(x: kotlin.Int)
VALUE_PARAMETER value-parameter x: kotlin.Int
BLOCK_BODY
@@ -20,7 +20,7 @@ FILE /initVal.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitValInClass
$new: VALUE_PARAMETER this@TestInitValInClass: TestInitValInClass
$this: VALUE_PARAMETER this@TestInitValInClass: TestInitValInClass
CONSTRUCTOR public constructor TestInitValInClass()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -39,7 +39,7 @@ FILE /initVal.kt
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
CLASS CLASS TestInitValInInitBlock
$new: VALUE_PARAMETER this@TestInitValInInitBlock: TestInitValInInitBlock
$this: VALUE_PARAMETER this@TestInitValInInitBlock: TestInitValInInitBlock
CONSTRUCTOR public constructor TestInitValInInitBlock()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'