[JS IR] Make tests that use directives pass with IR BE
This commit is contained in:
Vendored
+2
-1
@@ -1,5 +1,6 @@
|
||||
// EXPECTED_REACHABLE_NODES: 1285
|
||||
// HAS_NO_CAPTURED_VARS: function=A_init except=Kotlin;A;equals
|
||||
// HAS_NO_CAPTURED_VARS: function=A_init except=Kotlin;A;equals TARGET_BACKENDS=JS
|
||||
// TODO: Enable this when KT-***** is resolved. // HAS_NO_CAPTURED_VARS: function=A_init_$Init$ except=A;equals IGNORED_BACKENDS=JS
|
||||
|
||||
class A() {
|
||||
var y: String? = null
|
||||
|
||||
+2
-1
@@ -1,6 +1,7 @@
|
||||
// KJS_WITH_FULL_RUNTIME
|
||||
// EXPECTED_REACHABLE_NODES: 1283
|
||||
// CHECK_VARS_COUNT: function=test count=2
|
||||
// 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() {
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
// CHECK_NOT_CALLED_IN_SCOPE: function=component1 scope=test1
|
||||
// CHECK_NOT_CALLED_IN_SCOPE: function=component1 scope=test2
|
||||
// CHECK_NOT_CALLED_IN_SCOPE: function=component1 scope=test3
|
||||
// CHECK_CONTAINS_NO_CALLS: test4 except=toString
|
||||
// CHECK_CONTAINS_NO_CALLS: test4 except=toString TARGET_BACKENDS=JS
|
||||
// CHECK_CONTAINS_NO_CALLS: test4 except=_get_size__0_k$ IGNORED_BACKENDS=JS
|
||||
|
||||
fun test1(a: Sequence<String>): String {
|
||||
var s = ""
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// CHECK_CONTAINS_NO_CALLS: testRangeToFunction
|
||||
// CHECK_CONTAINS_NO_CALLS: testUntil
|
||||
// CHECK_CONTAINS_NO_CALLS: testDownTo
|
||||
// CHECK_CONTAINS_NO_CALLS: testStep
|
||||
// CHECK_CONTAINS_NO_CALLS: testStep TARGET_BACKENDS=JS
|
||||
// CHECK_CONTAINS_NO_CALLS: testEmptyRange
|
||||
// CHECK_CONTAINS_NO_CALLS: testRangeToParams except=from;to
|
||||
|
||||
|
||||
Reference in New Issue
Block a user