[Test] Convert IGNORE: NATIVE directives in rest of tests

^KT-59057 Fixed

Merge-request: KT-MR-10794
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
Vladimir Sukharev
2023-06-26 07:44:12 +00:00
committed by Space Team
parent 8a69904d02
commit 09a0905ffc
19 changed files with 68 additions and 106 deletions
@@ -1,4 +1,5 @@
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
// KT-59609
// IGNORE_BACKEND: NATIVE
// FIR status: Validation failed. TODO decide if we want to fix KT-42020 for FIR as well
// MODULE: lib
@@ -1,5 +1,6 @@
// !LANGUAGE: +InlineClasses
// IGNORE_BACKEND: JS_IR, JS, NATIVE
// DONT_TARGET_EXACT_BACKEND: NATIVE
// IGNORE_BACKEND: JS_IR, JS
// WITH_REFLECT
// MODULE: lib
@@ -1,5 +1,6 @@
// !LANGUAGE: +InlineClasses
// IGNORE_BACKEND: JS_IR, JS, NATIVE
// DONT_TARGET_EXACT_BACKEND: NATIVE
// IGNORE_BACKEND: JS_IR, JS
// WITH_REFLECT
// MODULE: lib
@@ -1,4 +1,5 @@
// IGNORE_BACKEND: NATIVE
// NATIVE error: this type is final, so it cannot be inherited from
// DONT_TARGET_EXACT_BACKEND: NATIVE
// WITH_STDLIB
// MODULE: lib
// FILE: A.kt
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: NATIVE
// DONT_TARGET_EXACT_BACKEND: NATIVE
// WITH_STDLIB
// WITH_REFLECT
@@ -1,4 +1,5 @@
// !LANGUAGE: +EnumEntries
// KT-59611
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
// IGNORE_BACKEND: JS, JVM
// WITH_STDLIB
@@ -1,6 +1,6 @@
// IGNORE_BACKEND: WASM, JS_IR, JS_IR_ES6, NATIVE
// IGNORE_BACKEND: WASM, JS_IR, JS_IR_ES6
// WASM_MUTE_REASON: EXPECT_DEFAULT_PARAMETERS
// IGNORE_BACKEND_K2: JVM, JVM_IR
// IGNORE_BACKEND_K2: JVM, JVM_IR, NATIVE
// FIR status: outdated code (expect and actual in the same module)
// !LANGUAGE: +MultiPlatformProjects
@@ -1,6 +1,7 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: EXPECT_DEFAULT_PARAMETERS
// !LANGUAGE: +MultiPlatformProjects
// K1/NATIVE fail: KT-59608
// IGNORE_BACKEND: NATIVE
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JVM
@@ -1,6 +1,7 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: EXPECT_DEFAULT_PARAMETERS
// !LANGUAGE: +MultiPlatformProjects
// K2/NATIVE fail: KT-59608
// IGNORE_BACKEND: NATIVE, JVM, JVM_IR
// IGNORE_BACKEND_K1: JS, JS_IR, JS_IR_ES6
@@ -1,11 +1,8 @@
// TARGET_BACKEND: JVM
// TARGET_BACKEND: JVM_IR
class L<T>(var a: T) {}
fun foo() = L<Int>(5).a
fun box(): String {
val x: Any = foo()
return if (x is Integer) "OK" else "Fail $x"
return if (x is Int) "OK" else "Fail $x"
}