IR: annotations are represented as IrConstructorCall elements
Also, they are rendered somewhat nicer
This commit is contained in:
Vendored
+2
-4
@@ -38,11 +38,9 @@ FILE fqName:<root> fileName:/constExpressionsInAnnotationArguments.kt
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
annotations:
|
||||
CALL 'public constructor <init> (x: kotlin.Int) [primary] declared in <root>.A' type=<root>.A origin=null
|
||||
x: CONST Int type=kotlin.Int value=1
|
||||
A(x = '1')
|
||||
BLOCK_BODY
|
||||
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
annotations:
|
||||
CALL 'public constructor <init> (x: kotlin.Int) [primary] declared in <root>.A' type=<root>.A origin=null
|
||||
x: CONST Int type=kotlin.Int value=2
|
||||
A(x = '2')
|
||||
BLOCK_BODY
|
||||
|
||||
Reference in New Issue
Block a user