IR: annotations are represented as IrConstructorCall elements
Also, they are rendered somewhat nicer
This commit is contained in:
Vendored
+1
-1
@@ -20,7 +20,7 @@ FILE fqName:<root> fileName:/primaryConstructorParameterWithAnnotations.kt
|
||||
CONSTRUCTOR visibility:public <> (x:kotlin.Int) returnType:<root>.Test [primary]
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int
|
||||
annotations:
|
||||
CALL 'public constructor <init> () [primary] declared in <root>.Ann' type=<root>.Ann origin=null
|
||||
Ann
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Test modality:FINAL visibility:public superTypes:[kotlin.Any]'
|
||||
|
||||
Reference in New Issue
Block a user