IR: IrConstructor.isPrimary
NB this is required for Kotlin/JS.
This commit is contained in:
+2
-1
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/functionsWithAnnotations.kt
|
||||
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:TestAnn flags:
|
||||
superClasses:
|
||||
CLASS IR_EXTERNAL_DECLARATION_STUB INTERFACE name:Annotation modality:ABSTRACT visibility:public flags:
|
||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:TestAnn flags:
|
||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:TestAnn flags:primary
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
PROPERTY name:x type:kotlin.Int visibility:public modality:FINAL flags:val
|
||||
FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public flags:final
|
||||
@@ -33,3 +33,4 @@ FILE fqName:<root> fileName:/functionsWithAnnotations.kt
|
||||
CALL 'constructor TestAnn(Int)' type=TestAnn origin=null
|
||||
x: CONST Int type=kotlin.Int value=42
|
||||
BLOCK_BODY
|
||||
|
||||
|
||||
Reference in New Issue
Block a user