Generate IrTypeParameter and IrValueParameter declarations
This commit is contained in:
@@ -6,6 +6,8 @@ FILE /innerClassWithDelegatingConstructor.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
|
||||
CLASS CLASS Inner
|
||||
CONSTRUCTOR public constructor Inner(x: kotlin.Int)
|
||||
$this: VALUE_PARAMETER <receiver: Outer>
|
||||
VALUE_PARAMETER value-parameter x: kotlin.Int
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Inner'
|
||||
@@ -14,11 +16,13 @@ FILE /innerClassWithDelegatingConstructor.kt
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: Inner>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: GET_VAR '<receiver: Inner>' type=Outer.Inner origin=null
|
||||
CONSTRUCTOR public constructor Inner()
|
||||
$this: VALUE_PARAMETER <receiver: Outer>
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Inner(Int)'
|
||||
$this: GET_VAR '<receiver: Outer>' type=Outer origin=null
|
||||
|
||||
Reference in New Issue
Block a user