IR: annotations are represented as IrConstructorCall elements
Also, they are rendered somewhat nicer
This commit is contained in:
+1
-2
@@ -29,8 +29,7 @@ FILE fqName:<root> fileName:/propertiesWithAnnotations.kt
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
PROPERTY name:testVal visibility:public modality:FINAL [val]
|
||||
annotations:
|
||||
CALL 'public constructor <init> (x: kotlin.String) [primary] declared in <root>.TestAnn' type=<root>.TestAnn origin=null
|
||||
x: CONST String type=kotlin.String value="testVal.property"
|
||||
TestAnn(x = 'testVal.property')
|
||||
FIELD PROPERTY_BACKING_FIELD name:testVal type:kotlin.String visibility:public [final,static]
|
||||
EXPRESSION_BODY
|
||||
CONST String type=kotlin.String value=""
|
||||
|
||||
Reference in New Issue
Block a user