[IR] Print annotations in source range compiler tests

This commit is contained in:
Sergej Jaskiewicz
2022-08-02 14:50:00 +02:00
committed by Space
parent 9dc7fe24f6
commit 5e34ae5e0d
11 changed files with 109 additions and 1 deletions
@@ -4,6 +4,10 @@
@9:0..14 FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit
@9:12..14 BLOCK_BODY
@15:0..14 FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit
annotations:
@12:0..14:1 CONSTRUCTOR_CALL 'public constructor <init> (vararg names: kotlin.String) [primary] declared in kotlin.Suppress' type=kotlin.Suppress origin=null
@13:4..21 VARARG type=kotlin.Array<out kotlin.String> varargElementType=kotlin.String
@13:4..21 CONST String type=kotlin.String value="UNUSED_VARIABLE"
@15:12..14 BLOCK_BODY
@19:0..14 FUN name:test3 visibility:private modality:FINAL <> () returnType:kotlin.Unit
@19:12..14 BLOCK_BODY