Render receivers as 'this@owner: type'
Add test for generic inner class with generic outer class.
This commit is contained in:
+4
-4
@@ -1,23 +1,23 @@
|
||||
FILE /companion.kt
|
||||
CLASS CLASS Z
|
||||
$new: VALUE_PARAMETER <receiver: Z>
|
||||
$new: VALUE_PARAMETER this@Z: Z
|
||||
CONSTRUCTOR public constructor Z()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Z'
|
||||
FUN public final fun test2(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: Z>
|
||||
$this: VALUE_PARAMETER this@Z: Z
|
||||
BLOCK_BODY
|
||||
CALL 'test(): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_OBJECT 'companion object of Z' type=Z.Companion
|
||||
CLASS OBJECT companion object of Z
|
||||
$new: VALUE_PARAMETER <receiver: companion object of Z>
|
||||
$new: VALUE_PARAMETER this@Companion: Companion
|
||||
CONSTRUCTOR private constructor Companion()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='companion object of Z'
|
||||
FUN public final fun test(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: companion object of Z>
|
||||
$this: VALUE_PARAMETER this@Companion: Companion
|
||||
BLOCK_BODY
|
||||
FUN FAKE_OVERRIDE public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
FUN FAKE_OVERRIDE public open override fun hashCode(): kotlin.Int
|
||||
|
||||
+5
-5
@@ -1,6 +1,6 @@
|
||||
FILE /enumEntry.kt
|
||||
CLASS ENUM_CLASS Z
|
||||
$new: VALUE_PARAMETER <receiver: Z>
|
||||
$new: VALUE_PARAMETER this@Z: Z
|
||||
CONSTRUCTOR private constructor Z()
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Enum(String, Int)'
|
||||
@@ -8,22 +8,22 @@ FILE /enumEntry.kt
|
||||
ENUM_ENTRY enum entry ENTRY
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor ENTRY()'
|
||||
class: CLASS ENUM_ENTRY ENTRY
|
||||
$new: VALUE_PARAMETER <receiver: ENTRY>
|
||||
$new: VALUE_PARAMETER this@ENTRY: ENTRY
|
||||
CONSTRUCTOR private constructor ENTRY()
|
||||
BLOCK_BODY
|
||||
ENUM_CONSTRUCTOR_CALL 'constructor Z()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='ENTRY'
|
||||
FUN public final fun test(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: ENTRY>
|
||||
$this: VALUE_PARAMETER this@ENTRY: ENTRY
|
||||
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_ENUM 'ENTRY' type=Z.ENTRY
|
||||
|
||||
+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