Generate line numbers for RHS of elvis expression if both LHS and RHS

are at the same line.
 #KT-32689 Fixed
This commit is contained in:
Ilmir Usmanov
2019-07-22 15:24:37 +03:00
parent 1f36f60f43
commit 56b6b957d1
5 changed files with 62 additions and 0 deletions
@@ -6790,6 +6790,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/coroutines/debug/debuggerMetadata.kt");
}
@TestMetadata("elvisLineNumber.kt")
public void testElvisLineNumber() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/debug/elvisLineNumber.kt");
}
@TestMetadata("firstSuspensionPoint.kt")
public void testFirstSuspensionPoint() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/debug/firstSuspensionPoint.kt");