Render receivers as 'this@owner: type'
Add test for generic inner class with generic outer class.
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
FILE /suppressedNonPublicCall.kt
|
||||
CLASS CLASS C
|
||||
$new: VALUE_PARAMETER <receiver: C>
|
||||
$new: VALUE_PARAMETER this@C: C
|
||||
CONSTRUCTOR public constructor C()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='C'
|
||||
FUN internal final fun bar(): kotlin.Unit
|
||||
$this: VALUE_PARAMETER <receiver: C>
|
||||
$this: VALUE_PARAMETER this@C: C
|
||||
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
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
FUN public inline fun C.foo(): kotlin.Unit
|
||||
$receiver: VALUE_PARAMETER <receiver: foo() on C: Unit>
|
||||
$receiver: VALUE_PARAMETER this@foo: C
|
||||
BLOCK_BODY
|
||||
CALL 'bar(): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR '<receiver: foo() on C: Unit>' type=C origin=null
|
||||
$this: GET_VAR 'this@foo: C' type=C origin=null
|
||||
|
||||
Reference in New Issue
Block a user