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,10 +1,10 @@
FILE /genericPropertyCall.kt
PROPERTY public val <T> T.id: T
FUN public fun T.<get-id>(): T
$receiver: VALUE_PARAMETER <receiver: id: T on T>
$receiver: VALUE_PARAMETER this@id: T
BLOCK_BODY
RETURN type=kotlin.Nothing from='<get-id>() on T: T'
GET_VAR '<receiver: id: T on T>' type=T origin=null
GET_VAR 'this@id: T' type=T origin=null
PROPERTY public val test: kotlin.String
FIELD PROPERTY_BACKING_FIELD public val test: kotlin.String
EXPRESSION_BODY