[JS] Remove failed checks based on unstable naming
This commit is contained in:
@@ -11,6 +11,5 @@ inline fun foo() = O.bar()
|
||||
// MODULE: main(lib)
|
||||
// FILE: main.kt
|
||||
// CHECK_CONTAINS_NO_CALLS: box except=bar TARGET_BACKENDS=JS
|
||||
// CHECK_CONTAINS_NO_CALLS: box except=bar_0_k$;O_getInstance; IGNORED_BACKENDS=JS
|
||||
|
||||
fun box() = foo()
|
||||
|
||||
@@ -16,11 +16,6 @@ inline operator fun B.plus(b: Int) = b + 20
|
||||
// CHECK_NOT_CALLED_IN_SCOPE: function=plus_za3lpa$ scope=box TARGET_BACKENDS=JS
|
||||
// CHECK_NOT_CALLED_IN_SCOPE: function=plus scope=box TARGET_BACKENDS=JS
|
||||
|
||||
// CHECK_FUNCTION_EXISTS: plus_ha5a7z_k$ IGNORED_BACKENDS=JS
|
||||
// CHECK_NOT_CALLED_IN_SCOPE: function=plus_ha5a7z_k$ scope=box IGNORED_BACKENDS=JS
|
||||
// CHECK_FUNCTION_EXISTS: plus_0 IGNORED_BACKENDS=JS
|
||||
// CHECK_NOT_CALLED_IN_SCOPE: function=plus_0 scope=box IGNORED_BACKENDS=JS
|
||||
|
||||
fun box(): String {
|
||||
var result = A() + 1
|
||||
if (result != 11) return "fail: member operator"
|
||||
|
||||
Reference in New Issue
Block a user