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
@@ -1,12 +1,12 @@
FILE /innerClassWithDelegatingConstructor.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()'
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
CLASS CLASS Inner
$new: VALUE_PARAMETER this@Inner: Inner
$this: VALUE_PARAMETER this@Inner: Inner
CONSTRUCTOR public constructor Inner(x: kotlin.Int)
$outer: VALUE_PARAMETER this@Outer: Outer
VALUE_PARAMETER value-parameter x: kotlin.Int