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
@@ -5,7 +5,7 @@ FILE fqName:<root> fileName:/localClassWithOverrides.kt
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:outer.ALocal flags:
superClasses:
CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Any modality:OPEN visibility:public flags:
CONSTRUCTOR visibility:public <> () returnType:outer.ALocal flags:
CONSTRUCTOR visibility:public <> () returnType:outer.ALocal flags:primary
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='ALocal'
@@ -37,7 +37,7 @@ FILE fqName:<root> fileName:/localClassWithOverrides.kt
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:outer.Local flags:
superClasses:
CLASS CLASS name:ALocal modality:ABSTRACT visibility:local flags:
CONSTRUCTOR visibility:public <> () returnType:outer.Local flags:
CONSTRUCTOR visibility:public <> () returnType:outer.Local flags:primary
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor ALocal()'
INSTANCE_INITIALIZER_CALL classDescriptor='Local'
@@ -92,3 +92,4 @@ FILE fqName:<root> fileName:/localClassWithOverrides.kt
overridden:
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:String flags:
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags: