[JS IR] disable some AST checks for now

This commit is contained in:
Anton Bannykh
2021-11-12 13:35:31 +03:00
committed by TeamCityServer
parent 953089a4b9
commit 58bd4ffd71
7 changed files with 3 additions and 7 deletions
@@ -13,7 +13,7 @@ class A(val value: String) {
import test.*
// CHECK_CONTAINS_NO_CALLS: box
// CHECK_CONTAINS_NO_CALLS: box TARGET_BACKENDS=JS
fun box(): String {
return A("OK").inlineFun()
}
@@ -1,7 +1,6 @@
// KJS_WITH_FULL_RUNTIME
// EXPECTED_REACHABLE_NODES: 1283
// CHECK_VARS_COUNT: function=test count=2 TARGET_BACKENDS=JS
// CHECK_VARS_COUNT: function=test_1 count=4 IGNORED_BACKENDS=JS
var log = ""
fun test() {
-1
View File
@@ -1,5 +1,4 @@
// EXPECTED_REACHABLE_NODES: 1283
// SKIP_IR_INCREMENTAL_CHECKS
// MODULE: lib
// MODULE_KIND: AMD
@@ -18,7 +18,7 @@ public fun log(s: String): String {
import utils.*
// CHECK_CONTAINS_NO_CALLS: test
// CHECK_CONTAINS_NO_CALLS: test TARGET_BACKENDS=JS
internal fun test(s: String): String = log(s + ";")
+1 -1
View File
@@ -15,7 +15,7 @@ public class A(public val x: Int) {
import utils.*
// CHECK_CONTAINS_NO_CALLS: test
// CHECK_CONTAINS_NO_CALLS: test TARGET_BACKENDS=JS
internal fun test(a: A, y: Int): Int = a.plus(y)
@@ -5,7 +5,6 @@ package foo
// CHECK_NOT_CALLED: f1
// CHECK_NOT_CALLED: f2
// CHECK_BREAKS_COUNT: function=test count=3 TARGET_BACKENDS=JS
// CHECK_BREAKS_COUNT: function=test_1 count=6 IGNORED_BACKENDS=JS
internal var even = arrayListOf<Int>()
internal var odd = arrayListOf<Int>()
@@ -1,7 +1,6 @@
// EXPECTED_REACHABLE_NODES: 1283
// MODULE_KIND: COMMON_JS
// FUNCTION_CALLED_TIMES: require count=2 TARGET_BACKENDS=JS
// FUNCTION_CALLED_TIMES: require count=3 IGNORED_BACKENDS=JS
@JsModule("lib")
external fun f(x: Int): String