K2: add source range test to ensure #KT-59584 Fixed

This commit is contained in:
Mikhail Glukhikh
2023-10-02 15:15:20 +02:00
committed by Space Team
parent 920b0bfe63
commit 21b4ce050c
6 changed files with 87 additions and 0 deletions
@@ -85,6 +85,12 @@ public class ClassicJvmIrSourceRangesTestGenerated extends AbstractClassicJvmIrS
runTest("compiler/testData/ir/sourceRanges/postfixIncrementDecrement.kt");
}
@Test
@TestMetadata("this.kt")
public void testThis() throws Exception {
runTest("compiler/testData/ir/sourceRanges/this.kt");
}
@Nested
@TestMetadata("compiler/testData/ir/sourceRanges/declarations")
@TestDataPath("$PROJECT_ROOT")