IR: annotations are represented as IrConstructorCall elements
Also, they are rendered somewhat nicer
This commit is contained in:
Vendored
+1
-6
@@ -29,10 +29,5 @@ FILE fqName:<root> fileName:/spreadOperatorInAnnotationArguments.kt
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
|
||||
FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
annotations:
|
||||
CALL 'public constructor <init> (vararg xs: kotlin.String) [primary] declared in <root>.A' type=<root>.A origin=null
|
||||
xs: VARARG type=kotlin.Array<out kotlin.String> varargElementType=kotlin.String
|
||||
VARARG type=kotlin.Array<kotlin.String> varargElementType=kotlin.String
|
||||
CONST String type=kotlin.String value="a"
|
||||
VARARG type=kotlin.Array<kotlin.String> varargElementType=kotlin.String
|
||||
CONST String type=kotlin.String value="b"
|
||||
A(xs = [['a'], ['b']])
|
||||
BLOCK_BODY
|
||||
|
||||
Reference in New Issue
Block a user