Render receivers as 'this@owner: type'
Add test for generic inner class with generic outer class.
This commit is contained in:
@@ -5,12 +5,12 @@ FILE /integerCoercionToT.kt
|
||||
FUN FAKE_OVERRIDE public open override fun toString(): kotlin.String
|
||||
FUN public inline fun <reified T : CPointed> CPointed.reinterpret(): T
|
||||
TYPE_PARAMETER <reified T : CPointed>
|
||||
$receiver: VALUE_PARAMETER <receiver: reinterpret() on CPointed: T>
|
||||
$receiver: VALUE_PARAMETER this@reinterpret: CPointed
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='reinterpret() on CPointed: T'
|
||||
CALL 'TODO(): Nothing' type=kotlin.Nothing origin=null
|
||||
CLASS CLASS CInt32VarX
|
||||
$new: VALUE_PARAMETER <receiver: CInt32VarX>
|
||||
$new: VALUE_PARAMETER this@CInt32VarX: CInt32VarX<T>
|
||||
TYPE_PARAMETER <T>
|
||||
CONSTRUCTOR public constructor CInt32VarX<T>()
|
||||
BLOCK_BODY
|
||||
@@ -22,16 +22,16 @@ FILE /integerCoercionToT.kt
|
||||
TYPEALIAS typealias CInt32Var = CInt32VarX<Int> type=CInt32VarX<kotlin.Int>
|
||||
PROPERTY public var <T_INT : kotlin.Int> CInt32VarX<T_INT>.value: T_INT
|
||||
FUN public fun CInt32VarX<T_INT>.<get-value>(): T_INT
|
||||
$receiver: VALUE_PARAMETER <receiver: value: T_INT on CInt32VarX<T_INT>>
|
||||
$receiver: VALUE_PARAMETER this@value: CInt32VarX<T_INT>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value>() on CInt32VarX<T_INT>: T_INT'
|
||||
CALL 'TODO(): Nothing' type=kotlin.Nothing origin=null
|
||||
FUN public fun CInt32VarX<T_INT>.<set-value>(value: T_INT): kotlin.Unit
|
||||
$receiver: VALUE_PARAMETER <receiver: value: T_INT on CInt32VarX<T_INT>>
|
||||
$receiver: VALUE_PARAMETER this@value: CInt32VarX<T_INT>
|
||||
VALUE_PARAMETER value-parameter value: T_INT
|
||||
BLOCK_BODY
|
||||
CLASS CLASS IdType
|
||||
$new: VALUE_PARAMETER <receiver: IdType>
|
||||
$new: VALUE_PARAMETER this@IdType: IdType
|
||||
CONSTRUCTOR public constructor IdType(value: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter value: kotlin.Int
|
||||
BLOCK_BODY
|
||||
@@ -42,11 +42,11 @@ FILE /integerCoercionToT.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-value>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: IdType>
|
||||
$this: VALUE_PARAMETER this@IdType: IdType
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-value>(): Int'
|
||||
GET_FIELD 'value: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: IdType>' type=IdType origin=null
|
||||
receiver: GET_VAR 'this@IdType: IdType' type=IdType origin=null
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user