IR: IrConstructor.isPrimary

NB this is required for Kotlin/JS.
This commit is contained in:
Dmitry Petrov
2018-05-07 12:59:26 +03:00
parent a6057fb499
commit 729efaf912
158 changed files with 349 additions and 297 deletions
+3 -3
View File
@@ -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