From 48bd99730d3499dca3acc210cea856d7675b3744 Mon Sep 17 00:00:00 2001 From: Mads Ager Date: Fri, 21 Dec 2018 14:12:20 +0100 Subject: [PATCH] Suppress final failure which relies on line numbers. --- .../coroutines/debug/localVariableCorrectLabel.kt | 4 +++- compiler/testData/codegen/bytecodeText/lineNumbers/when.kt | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/compiler/testData/codegen/bytecodeText/coroutines/debug/localVariableCorrectLabel.kt b/compiler/testData/codegen/bytecodeText/coroutines/debug/localVariableCorrectLabel.kt index 76b674587a6..5caeeef3d83 100644 --- a/compiler/testData/codegen/bytecodeText/coroutines/debug/localVariableCorrectLabel.kt +++ b/compiler/testData/codegen/bytecodeText/coroutines/debug/localVariableCorrectLabel.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR import kotlin.sequences.* import kotlin.experimental.* @@ -17,3 +16,6 @@ suspend fun SequenceScope.awaitSeq(): Int = 42 // 1 LOCALVARIABLE a I L19 L23 3 // 1 LINENUMBER 8 L19 +// Adding ignore flags below the test since the test relies on line numbers. +// IGNORE_BACKEND: JVM_IR + diff --git a/compiler/testData/codegen/bytecodeText/lineNumbers/when.kt b/compiler/testData/codegen/bytecodeText/lineNumbers/when.kt index 53ad35cd814..cc72ffbbd0d 100644 --- a/compiler/testData/codegen/bytecodeText/lineNumbers/when.kt +++ b/compiler/testData/codegen/bytecodeText/lineNumbers/when.kt @@ -5,4 +5,6 @@ fun foo() { else -> System.out?.println() } } -// 1 LINENUMBER 3 \ No newline at end of file +// 1 LINENUMBER 3 +// Adding ignore flags below the test since the test relies on line numbers. +// IGNORE_BACKEND: JVM_IR