[JS TESTS] Remove LANGUAGE_VERSION directive

Some of them are not necessary at all, others can be replaced with
`!LANGUAGE` directive with exclusion of corresponding features.
This commit is contained in:
Ivan Kylchik
2021-09-08 11:17:05 +03:00
parent 9c3e93024b
commit 4deab9693e
5 changed files with 2 additions and 5 deletions
@@ -1,4 +1,3 @@
// LANGUAGE_VERSION: 1.5
// KJS_WITH_FULL_RUNTIME
// EXPECTED_REACHABLE_NODES: 1787
package foo
@@ -1,6 +1,5 @@
// IGNORE_BACKEND: JS_IR_ES6
// EXPECTED_REACHABLE_NODES: 1397
// LANGUAGE_VERSION: 1.2
// MODULE: lib
// FILE: lib.kt
open class C {
@@ -1,4 +1,4 @@
// LANGUAGE_VERSION: 1.1
// !LANGUAGE: -ProhibitOperatorMod
// EXPECTED_REACHABLE_NODES: 1284
package foo
@@ -1,5 +1,4 @@
// EXPECTED_REACHABLE_NODES: 1294
// LANGUAGE_VERSION: 1.2
// WITH_RUNTIME
fun deinitialize(foo: dynamic) {
+1 -1
View File
@@ -1,5 +1,5 @@
// EXPECTED_REACHABLE_NODES: 1290
// LANGUAGE_VERSION: 1.1
// !LANGUAGE: -ProhibitGenericArrayClassLiteral
import kotlin.reflect.KClass
fun box(): String {