[JS] Remove non-functional IGNORE_FIR directive in js box tests

This commit is contained in:
Kirill Rakhman
2023-04-05 12:49:47 +02:00
committed by Space Team
parent 155eb9b77a
commit f9540d8f69
165 changed files with 133 additions and 298 deletions
@@ -1,4 +1,3 @@
// IGNORE_FIR
// DONT_TARGET_EXACT_BACKEND: JS
// ES_MODULES
// SPLIT_PER_MODULE
@@ -27,4 +26,4 @@ fun box(): String {
if (b != "OK") return "fail: inline: $a"
return "OK"
}
}
@@ -1,4 +1,3 @@
// IGNORE_FIR
// DONT_TARGET_EXACT_BACKEND: JS
// ES_MODULES
// SPLIT_PER_MODULE
@@ -72,4 +71,4 @@ fun box(): String {
if (h != 999) return "fail: secondary constructor from inline function: $h"
return "OK"
}
}
@@ -1,4 +1,3 @@
// IGNORE_FIR
// DONT_TARGET_EXACT_BACKEND: JS
// ES_MODULES
// SPLIT_PER_MODULE
@@ -27,4 +26,4 @@ fun box(): String {
val result = B().bar()
if (result != 24) return "fail: $result"
return "OK"
}
}
@@ -1,4 +1,3 @@
// IGNORE_FIR
// DONT_TARGET_EXACT_BACKEND: JS
// ES_MODULES
// SPLIT_PER_MODULE
@@ -16,4 +15,4 @@ inline fun bar() = foo()
// MODULE: main(lib1, lib2)
// FILE: main.kt
fun box() = bar()
fun box() = bar()
@@ -1,4 +1,3 @@
// IGNORE_FIR
// DONT_TARGET_EXACT_BACKEND: JS
// ES_MODULES
// SPLIT_PER_MODULE
@@ -16,4 +15,4 @@ inline fun bar() = foo()
// MODULE: main(2)
// FILE: main.kt
fun box() = bar()
fun box() = bar()
@@ -1,4 +1,3 @@
// IGNORE_FIR
// DONT_TARGET_EXACT_BACKEND: JS
// ES_MODULES
// SPLIT_PER_MODULE
@@ -19,4 +18,4 @@ package main
import lib.*
fun box() = foo()
fun box() = foo()
@@ -1,4 +1,3 @@
// IGNORE_FIR
// DONT_TARGET_EXACT_BACKEND: JS
// ES_MODULES
// SPLIT_PER_MODULE
@@ -37,4 +36,4 @@ fun box(): String {
if (log != "before;O.init;after;") return "fail: wrong evaluation order: $log"
return "OK"
}
}
@@ -1,4 +1,3 @@
// IGNORE_FIR
// DONT_TARGET_EXACT_BACKEND: JS
// ES_MODULES
// SPLIT_PER_MODULE
@@ -27,4 +26,4 @@ package main
import lib.*
fun box() = O.foo()
fun box() = O.foo()
@@ -1,4 +1,3 @@
// IGNORE_FIR
// DONT_TARGET_EXACT_BACKEND: JS
// ES_MODULES
// SPLIT_PER_MODULE
@@ -21,4 +20,4 @@ fun box(): String {
if (!(o is O)) return "fail2"
return "OK"
}
}
@@ -1,4 +1,3 @@
// IGNORE_FIR
// DONT_TARGET_EXACT_BACKEND: JS
// ES_MODULES
// SPLIT_PER_MODULE
@@ -44,4 +43,4 @@ fun box(): String {
if (e != 25) return "fail: inline function calling another function: $e"
return "OK"
}
}
@@ -1,4 +1,3 @@
// IGNORE_FIR
// DONT_TARGET_EXACT_BACKEND: JS
// ES_MODULES
// SPLIT_PER_MODULE
@@ -51,4 +50,4 @@ fun box(): String {
if (e != 23) return "fail: inline function calling another function: $e"
return "OK"
}
}
@@ -1,4 +1,3 @@
// IGNORE_FIR
// DONT_TARGET_EXACT_BACKEND: JS
// ES_MODULES
// SPLIT_PER_MODULE
@@ -1,4 +1,3 @@
// IGNORE_FIR
// DONT_TARGET_EXACT_BACKEND: JS
// ES_MODULES
// SPLIT_PER_MODULE