Render receivers as 'this@owner: type'
Add test for generic inner class with generic outer class.
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user