JVM_IR: Generate more line numbers for intrinsic comparisons.
Otherwise, if complex expressions such as when expressions are used in combination with the intrinsics we get incorrect stepping behavior. ^KT-64341 Fixed
This commit is contained in:
+42
@@ -595,6 +595,48 @@ public class IrJsSteppingTestGenerated extends AbstractIrJsSteppingTest {
|
||||
runTest("compiler/testData/debug/stepping/whenExpr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whenInConjunction.kt")
|
||||
public void testWhenInConjunction() throws Exception {
|
||||
runTest("compiler/testData/debug/stepping/whenInConjunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whenInDisjunction.kt")
|
||||
public void testWhenInDisjunction() throws Exception {
|
||||
runTest("compiler/testData/debug/stepping/whenInDisjunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whenInGeneralObjectComparison.kt")
|
||||
public void testWhenInGeneralObjectComparison() throws Exception {
|
||||
runTest("compiler/testData/debug/stepping/whenInGeneralObjectComparison.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whenInNegation.kt")
|
||||
public void testWhenInNegation() throws Exception {
|
||||
runTest("compiler/testData/debug/stepping/whenInNegation.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whenInNullComparison.kt")
|
||||
public void testWhenInNullComparison() throws Exception {
|
||||
runTest("compiler/testData/debug/stepping/whenInNullComparison.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whenInPrimitiveToObjectComparison.kt")
|
||||
public void testWhenInPrimitiveToObjectComparison() throws Exception {
|
||||
runTest("compiler/testData/debug/stepping/whenInPrimitiveToObjectComparison.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whenInZeroComparison.kt")
|
||||
public void testWhenInZeroComparison() throws Exception {
|
||||
runTest("compiler/testData/debug/stepping/whenInZeroComparison.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("whenIsChecks.kt")
|
||||
public void testWhenIsChecks() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user