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
+2 -2
View File
@@ -1,6 +1,6 @@
FILE /dataClasses.kt
CLASS CLASS Test1
$new: VALUE_PARAMETER this@Test1: Test1
$this: VALUE_PARAMETER this@Test1: Test1
CONSTRUCTOR public constructor Test1(x: kotlin.Int, y: kotlin.String, z: kotlin.Any)
VALUE_PARAMETER value-parameter x: kotlin.Int
VALUE_PARAMETER value-parameter y: kotlin.String
@@ -174,7 +174,7 @@ FILE /dataClasses.kt
RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
CONST Boolean type=kotlin.Boolean value='true'
CLASS CLASS Test2
$new: VALUE_PARAMETER this@Test2: Test2
$this: VALUE_PARAMETER this@Test2: Test2
CONSTRUCTOR public constructor Test2(x: kotlin.Any?)
VALUE_PARAMETER value-parameter x: kotlin.Any?
BLOCK_BODY