Generate IrTypeParameter and IrValueParameter declarations
This commit is contained in:
+4
@@ -10,6 +10,7 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
|
||||
EXPRESSION_BODY
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestProperty>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -22,6 +23,7 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
$this: VALUE_PARAMETER <receiver: TestInitBlock>
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
@@ -36,9 +38,11 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitBlock'
|
||||
CONSTRUCTOR public constructor TestInitBlock(z: kotlin.Any)
|
||||
VALUE_PARAMETER value-parameter z: kotlin.Any
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitBlock'
|
||||
CONSTRUCTOR public constructor TestInitBlock(y: kotlin.Int)
|
||||
VALUE_PARAMETER value-parameter y: kotlin.Int
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor TestInitBlock()'
|
||||
|
||||
Reference in New Issue
Block a user