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
@@ -1,7 +1,7 @@
@0:0..23:0 FILE fqName:test fileName:/augmentedAssignmentWithExpression.kt
@2:0..8:1 CLASS CLASS name:Host modality:FINAL visibility:public flags:
@2:0..8:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:test.Host flags:
@2:0..8:1 CONSTRUCTOR visibility:public <> () returnType:test.Host flags:
@2:0..8:1 CONSTRUCTOR visibility:public <> () returnType:test.Host flags:primary
@2:0..8:1 BLOCK_BODY
@2:0..8:1 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@2:0..8:1 INSTANCE_INITIALIZER_CALL classDescriptor='Host'
@@ -1,7 +1,7 @@
@0:0..4:1 FILE fqName:<root> fileName:/synthesizedDataClassMembers.kt
@0:0..4:1 CLASS CLASS name:C modality:FINAL visibility:public flags:data
@0:0..4:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:C flags:
@0:0..4:1 CONSTRUCTOR visibility:public <> (x:kotlin.Int, y:kotlin.String, z:kotlin.Any) returnType:C flags:
@0:0..4:1 CONSTRUCTOR visibility:public <> (x:kotlin.Int, y:kotlin.String, z:kotlin.Any) returnType:C flags:primary
@1:8..18 VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
@2:8..21 VALUE_PARAMETER name:y index:1 type:kotlin.String flags:
@3:8..18 VALUE_PARAMETER name:z index:2 type:kotlin.Any flags: