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
@@ -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