Files
kotlin-fork/compiler/testData/ir/sourceRanges/declarations/topLevelFuns.fir.txt
T
Mikhail Glukhikh 1d631500f5 Test: add K2 version of IR source ranges test
After this commit there are three different versions of
IR source range tests: classic (K1), FIR/PSI (K2), FIR/LT (K2).
Since 5 tests behave differently for FIR/PSI and FIR/LT,
in this commit their test data was set to FIR/LT state,
so relevant 5 tests are failing for FIR/PSI right now.
They will be fixed in two subsequent commits

Related to KT-59864, KT-60111, KT-59584
2023-10-10 13:38:51 +00:00

14 lines
868 B
Plaintext
Vendored

@0:0..20:0 FILE fqName:test fileName:/topLevelFuns.kt
@3:0..14 FUN name:test0 visibility:public modality:FINAL <> () returnType:kotlin.Unit
@3:12..14 BLOCK_BODY
@9:0..14 FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit
@9:12..14 BLOCK_BODY
@12:0..15: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
@18:0..19:14 FUN name:test3 visibility:private modality:FINAL <> () returnType:kotlin.Unit
@19:12..14 BLOCK_BODY