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 /outerClassAccess.kt
CLASS CLASS Outer
$new: VALUE_PARAMETER this@Outer: Outer
$this: VALUE_PARAMETER this@Outer: Outer
CONSTRUCTOR public constructor Outer()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -9,7 +9,7 @@ FILE /outerClassAccess.kt
$this: VALUE_PARAMETER this@Outer: Outer
BLOCK_BODY
CLASS CLASS Inner
$new: VALUE_PARAMETER this@Inner: Inner
$this: VALUE_PARAMETER this@Inner: Inner
CONSTRUCTOR public constructor Inner()
$outer: VALUE_PARAMETER this@Outer: Outer
BLOCK_BODY
@@ -21,7 +21,7 @@ FILE /outerClassAccess.kt
CALL 'foo(): Unit' type=kotlin.Unit origin=null
$this: GET_VAR 'this@Outer: Outer' type=Outer origin=null
CLASS CLASS Inner2
$new: VALUE_PARAMETER this@Inner2: Inner2
$this: VALUE_PARAMETER this@Inner2: Inner2
CONSTRUCTOR public constructor Inner2()
$outer: VALUE_PARAMETER this@Inner: Inner
BLOCK_BODY