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,7 +3,7 @@ FILE fqName:<root> fileName:/multipleThisReferences.kt
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Outer flags:
superClasses:
CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Any modality:OPEN visibility:public flags:
CONSTRUCTOR visibility:public <> () returnType:Outer flags:
CONSTRUCTOR visibility:public <> () returnType:Outer flags:primary
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='Outer'
@@ -11,7 +11,7 @@ FILE fqName:<root> fileName:/multipleThisReferences.kt
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Outer.Inner flags:
superClasses:
CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Any modality:OPEN visibility:public flags:
CONSTRUCTOR visibility:public <> ($this:Outer, x:kotlin.Int) returnType:Outer.Inner flags:
CONSTRUCTOR visibility:public <> ($this:Outer, x:kotlin.Int) returnType:Outer.Inner flags:primary
$outer: VALUE_PARAMETER name:<this> type:Outer flags:
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
BLOCK_BODY
@@ -57,7 +57,7 @@ FILE fqName:<root> fileName:/multipleThisReferences.kt
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Host flags:
superClasses:
CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Any modality:OPEN visibility:public flags:
CONSTRUCTOR visibility:public <> (y:kotlin.Int) returnType:Host flags:
CONSTRUCTOR visibility:public <> (y:kotlin.Int) returnType:Host flags:primary
VALUE_PARAMETER name:y index:0 type:kotlin.Int flags:
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
@@ -82,7 +82,7 @@ FILE fqName:<root> fileName:/multipleThisReferences.kt
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Host.test.<no name provided> flags:
superClasses:
CLASS CLASS name:Inner modality:OPEN visibility:public flags:
CONSTRUCTOR visibility:public <> () returnType:Host.test.<no name provided> flags:
CONSTRUCTOR visibility:public <> () returnType:Host.test.<no name provided> flags:primary
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Inner(Int)'
$this: GET_VAR 'this@test: Outer' type=Outer origin=null