IR: IrConstructor.isPrimary
NB this is required for Kotlin/JS.
This commit is contained in:
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/primaryConstructor.kt
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Test1 flags:
|
||||
superClasses:
|
||||
CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Any modality:OPEN visibility:public flags:
|
||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int, y:kotlin.Int) returnType:Test1 flags:
|
||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int, y:kotlin.Int) returnType:Test1 flags:primary
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
VALUE_PARAMETER name:y index:1 type:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
@@ -46,7 +46,7 @@ FILE fqName:<root> fileName:/primaryConstructor.kt
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Test2 flags:
|
||||
superClasses:
|
||||
CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Any modality:OPEN visibility:public flags:
|
||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int, y:kotlin.Int) returnType:Test2 flags:
|
||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int, y:kotlin.Int) returnType:Test2 flags:primary
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
VALUE_PARAMETER name:y index:1 type:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
@@ -89,7 +89,7 @@ FILE fqName:<root> fileName:/primaryConstructor.kt
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Test3 flags:
|
||||
superClasses:
|
||||
CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Any modality:OPEN visibility:public flags:
|
||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int, y:kotlin.Int) returnType:Test3 flags:
|
||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int, y:kotlin.Int) returnType:Test3 flags:primary
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
VALUE_PARAMETER name:y index:1 type:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
|
||||
Reference in New Issue
Block a user