Render receivers as 'this@owner: type'

Add test for generic inner class with generic outer class.
This commit is contained in:
Dmitry Petrov
2017-04-19 18:19:31 +03:00
parent 1bf6f8fc57
commit a511540aad
99 changed files with 944 additions and 905 deletions
+4 -4
View File
@@ -1,21 +1,21 @@
FILE /object.kt
CLASS OBJECT Z
$new: VALUE_PARAMETER <receiver: Z>
$new: VALUE_PARAMETER this@Z: Z
CONSTRUCTOR private constructor Z()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Z'
FUN public final fun test(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: Z>
$this: VALUE_PARAMETER this@Z: Z
BLOCK_BODY
CLASS CLASS A
$new: VALUE_PARAMETER <receiver: A>
$new: VALUE_PARAMETER this@A: A
CONSTRUCTOR public constructor A()
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='A'
FUN public final fun test2(): kotlin.Unit
$this: VALUE_PARAMETER <receiver: A>
$this: VALUE_PARAMETER this@A: A
BLOCK_BODY
CALL 'test(): Unit' type=kotlin.Unit origin=null
$this: GET_OBJECT 'Z' type=Z