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
+2 -2
View File
@@ -46,7 +46,7 @@ FILE fqName:<root> fileName:/fakeOverrides.kt
TYPE_PARAMETER name:T index:0 variance: upperBounds:[kotlin.Any?]
superClassifiers:
CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Any modality:OPEN visibility:public flags:
CONSTRUCTOR visibility:public <> () returnType:CFoo<T> flags:
CONSTRUCTOR visibility:public <> () returnType:CFoo<T> flags:primary
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
INSTANCE_INITIALIZER_CALL classDescriptor='CFoo'
@@ -73,7 +73,7 @@ FILE fqName:<root> fileName:/fakeOverrides.kt
CLASS CLASS name:CFoo modality:ABSTRACT visibility:public flags:
CLASS INTERFACE name:IFooStr modality:ABSTRACT visibility:public flags:
CLASS INTERFACE name:IBar modality:ABSTRACT visibility:public flags:
CONSTRUCTOR visibility:public <> () returnType:Test1 flags:
CONSTRUCTOR visibility:public <> () returnType:Test1 flags:primary
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'constructor CFoo()'
<T>: String