[Test] Convert IGNORE: NATIVE directives in box tests from D to I
^KT-59057 Merge-request: KT-MR-10748 Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
919d6401f7
commit
a036e41809
+12
-7
@@ -1,11 +1,14 @@
|
||||
// https://youtrack.jetbrains.com/issue/KT-42020/Psi2ir-IllegalStateException-IrSimpleFunctionPublicSymbolImpl-for-public-...-is-already-bound-on-generic-function-whose
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: SERIALIZATION_REGRESSION
|
||||
// IGNORE_BACKEND: JS
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// IGNORE_BACKEND_K1: NATIVE, JS_IR
|
||||
|
||||
// https://youtrack.jetbrains.com/issue/KT-59279/Psi2Ir-FIR2IR-Signature-clash-leads-to-wrong-method-resolve
|
||||
// IGNORE_BACKEND: JS
|
||||
// IGNORE_BACKEND_K2: NATIVE, JS_IR
|
||||
|
||||
// FIR status: validation failed. TODO decide if we want to fix KT-42020 for FIR as well
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// MODULE: lib
|
||||
// FILE: lib.kt
|
||||
|
||||
@@ -22,8 +25,10 @@ class Derived : Base<String>()
|
||||
|
||||
fun box(): String {
|
||||
val d = Derived()
|
||||
if (d.foo(p1 = "42") != "p1:42") return "FAIL1"
|
||||
if (d.foo(p2 = "24") != "p2:24") return "FAIL2"
|
||||
val foo42 = d.foo(p1 = "42")
|
||||
if (foo42 != "p1:42") return "FAIL1: foo42=$foo42"
|
||||
val foo24 = d.foo(p2 = "24")
|
||||
if (foo24 != "p2:24") return "FAIL2: foo24=$foo24"
|
||||
|
||||
return "OK"
|
||||
}
|
||||
+5
-3
@@ -1,11 +1,13 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: SERIALIZATION_REGRESSION
|
||||
// WASM_MUTE_REASON: SERIALIZATION_REGRESSION: Conflicting overloads: public fun foo(): String defined in pkg in file lib1.kt, public fun foo(): String defined in pkg in file main.kt (6,1)
|
||||
// EXPECTED_REACHABLE_NODES: 1304
|
||||
// JS_IR error: Cross module dependency resolution failed due to signature 'pkg/foo|-1041209573719867811[0]' redefinition
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
// IGNORE_BACKEND: ANDROID
|
||||
// IGNORE_LIGHT_ANALYSIS
|
||||
// NATIVE error caused by `foo()` clash: kotlin.AssertionError: Test failed with: 42K. Expected <OK>, actual <42K>.
|
||||
// DONT_TARGET_EXACT_BACKEND: NATIVE
|
||||
|
||||
// MODULE: lib1
|
||||
// FILE: lib1.kt
|
||||
package pkg
|
||||
|
||||
Reference in New Issue
Block a user