[FIR LT] Get correct startOffset value for declarations with comments
#KT-56913 Fixed #KT-56926 Fixed
This commit is contained in:
+30
@@ -85,6 +85,30 @@ public class IrJsSteppingTestGenerated extends AbstractIrJsSteppingTest {
|
||||
runTest("compiler/testData/debug/stepping/classObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("commentBeforeClass.kt")
|
||||
public void testCommentBeforeClass() throws Exception {
|
||||
runTest("compiler/testData/debug/stepping/commentBeforeClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("commentBeforeCompanionProperty.kt")
|
||||
public void testCommentBeforeCompanionProperty() throws Exception {
|
||||
runTest("compiler/testData/debug/stepping/commentBeforeCompanionProperty.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("commentBeforeFunctionWithDefault.kt")
|
||||
public void testCommentBeforeFunctionWithDefault() throws Exception {
|
||||
runTest("compiler/testData/debug/stepping/commentBeforeFunctionWithDefault.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("comments.kt")
|
||||
public void testComments() throws Exception {
|
||||
runTest("compiler/testData/debug/stepping/comments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("compileTimeConstant.kt")
|
||||
public void testCompileTimeConstant() throws Exception {
|
||||
@@ -367,6 +391,12 @@ public class IrJsSteppingTestGenerated extends AbstractIrJsSteppingTest {
|
||||
runTest("compiler/testData/debug/stepping/nullcheck.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("overridenGetterSetter.kt")
|
||||
public void testOverridenGetterSetter() throws Exception {
|
||||
runTest("compiler/testData/debug/stepping/overridenGetterSetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("primitiveNullChecks.kt")
|
||||
public void testPrimitiveNullChecks() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user