From 47b8e54f8406cddcd22908c911e007808b06dbe6 Mon Sep 17 00:00:00 2001 From: romanart Date: Tue, 16 Oct 2018 22:19:33 +0300 Subject: [PATCH] Update test data --- .../box/coroutines/featureIntersection/tailrec/infixCall.kt | 1 - .../featureIntersection/tailrec/infixRecursiveCall.kt | 1 - .../coroutines/featureIntersection/tailrec/realIteratorFoldl.kt | 1 - .../coroutines/featureIntersection/tailrec/realStringRepeat.kt | 1 - .../featureIntersection/tailrec/returnInParentheses.kt | 1 - .../codegen/box/coroutines/featureIntersection/tailrec/sum.kt | 1 - .../featureIntersection/tailrec/tailCallInBlockInParentheses.kt | 1 - .../featureIntersection/tailrec/tailCallInParentheses.kt | 1 - .../box/coroutines/featureIntersection/tailrec/whenWithIs.kt | 1 - .../box/diagnostics/functions/tailRecursion/defaultArgs.kt | 1 - .../diagnostics/functions/tailRecursion/extensionTailCall.kt | 1 - .../box/diagnostics/functions/tailRecursion/infixCall.kt | 1 - .../diagnostics/functions/tailRecursion/infixRecursiveCall.kt | 1 - .../diagnostics/functions/tailRecursion/realIteratorFoldl.kt | 1 - .../box/diagnostics/functions/tailRecursion/realStringRepeat.kt | 1 - .../functions/tailRecursion/recursiveInnerFunction.kt | 1 - .../diagnostics/functions/tailRecursion/returnInParentheses.kt | 1 - .../codegen/box/diagnostics/functions/tailRecursion/sum.kt | 1 - .../functions/tailRecursion/tailCallInBlockInParentheses.kt | 1 - .../functions/tailRecursion/tailCallInParentheses.kt | 1 - .../box/diagnostics/functions/tailRecursion/whenWithIs.kt | 1 - js/js.translator/testData/lineNumbers/coroutine.kt | 2 +- 22 files changed, 1 insertion(+), 22 deletions(-) diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixCall.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixCall.kt index b9d00707af6..b242363a037 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixCall.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixRecursiveCall.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixRecursiveCall.kt index 7488e138dbc..0f89208e8d3 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixRecursiveCall.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/infixRecursiveCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realIteratorFoldl.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realIteratorFoldl.kt index 8022c7c74ea..b9831a52341 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realIteratorFoldl.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realIteratorFoldl.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realStringRepeat.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realStringRepeat.kt index 614471a3784..247f2de16b7 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realStringRepeat.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/realStringRepeat.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/returnInParentheses.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/returnInParentheses.kt index 7d61ad2f99b..55646889ae2 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/returnInParentheses.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/returnInParentheses.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/sum.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/sum.kt index b11a0a8fc2f..b937bdd25cb 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/sum.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/sum.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/tailCallInBlockInParentheses.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/tailCallInBlockInParentheses.kt index e594933fa69..baa971103fd 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/tailCallInBlockInParentheses.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/tailCallInBlockInParentheses.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/tailCallInParentheses.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/tailCallInParentheses.kt index 529cbc908cf..cf8b4b31da5 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/tailCallInParentheses.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/tailCallInParentheses.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/whenWithIs.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/whenWithIs.kt index 8300892906e..0ab1966260e 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/whenWithIs.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/tailrec/whenWithIs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME // WITH_COROUTINES diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgs.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgs.kt index 6a83f03053a..3579e3d0a42 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgs.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JVM_IR // DONT_RUN_GENERATED_CODE: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/extensionTailCall.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/extensionTailCall.kt index 22746b97804..2ed5885bda2 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/extensionTailCall.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/extensionTailCall.kt @@ -1,5 +1,4 @@ // !DIAGNOSTICS: -UNUSED_PARAMETER -// IGNORE_BACKEND: JS_IR // DONT_RUN_GENERATED_CODE: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/infixCall.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/infixCall.kt index 4251f9b9811..2ff8aea820e 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/infixCall.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/infixCall.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // DONT_RUN_GENERATED_CODE: JS tailrec infix fun Int.test(x : Int) : Int { diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/infixRecursiveCall.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/infixRecursiveCall.kt index f3adc76ef96..ae9c4b5530d 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/infixRecursiveCall.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/infixRecursiveCall.kt @@ -1,5 +1,4 @@ // !DIAGNOSTICS: -UNUSED_PARAMETER -// IGNORE_BACKEND: JS_IR // DONT_RUN_GENERATED_CODE: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realIteratorFoldl.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realIteratorFoldl.kt index d380b10588e..ebf3ee6cff6 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realIteratorFoldl.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realIteratorFoldl.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // DONT_RUN_GENERATED_CODE: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringRepeat.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringRepeat.kt index eb8e691755b..3f39ccc222e 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringRepeat.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringRepeat.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // DONT_RUN_GENERATED_CODE: JS tailrec fun String.repeat(num : Int, acc : StringBuilder = StringBuilder()) : String = diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveInnerFunction.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveInnerFunction.kt index 45c1c1b9d0f..bfb7320b4f7 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveInnerFunction.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveInnerFunction.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // DONT_RUN_GENERATED_CODE: JS fun test() { diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInParentheses.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInParentheses.kt index d3fa2f0c367..d9282fcea72 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInParentheses.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInParentheses.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // DONT_RUN_GENERATED_CODE: JS tailrec fun foo(x: Int) { diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/sum.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/sum.kt index 98bd571e345..8a2ae5e6a68 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/sum.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/sum.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // TODO: muted automatically, investigate should it be ran for JS or not // DONT_RUN_GENERATED_CODE: JS diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInBlockInParentheses.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInBlockInParentheses.kt index 4a4f41d9e25..4655ecc7a61 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInBlockInParentheses.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInBlockInParentheses.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // DONT_RUN_GENERATED_CODE: JS tailrec fun foo(x: Int) { diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInParentheses.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInParentheses.kt index 97dea9d2f2e..352c3b4f0fb 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInParentheses.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInParentheses.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // DONT_RUN_GENERATED_CODE: JS tailrec fun foo(x: Int) { diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithIs.kt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithIs.kt index 3315472be5f..f1f92e1dbb4 100644 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithIs.kt +++ b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithIs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JS_IR // DONT_RUN_GENERATED_CODE: JS tailrec fun withWhen(counter : Int, d : Any) : Int = diff --git a/js/js.translator/testData/lineNumbers/coroutine.kt b/js/js.translator/testData/lineNumbers/coroutine.kt index 6b7e9b57788..588edfeca31 100644 --- a/js/js.translator/testData/lineNumbers/coroutine.kt +++ b/js/js.translator/testData/lineNumbers/coroutine.kt @@ -14,4 +14,4 @@ suspend fun bar(): Unit { println(a + b) } -// LINES: 40 40 4 4 4 5 5 45 45 5 87 45 5 5 6 4 4 4 15 9 9 9 9 15 9 9 9 * 15 10 10 11 11 11 2 11 11 * 11 12 12 13 13 13 2 13 13 13 13 14 14 +// LINES: 39 39 4 4 4 5 5 44 44 5 87 44 5 5 6 4 4 4 15 9 9 9 9 15 9 9 9 * 15 10 10 11 11 11 2 11 11 * 11 12 12 13 13 13 2 13 13 13 13 14 14