FIR: Mute backend tests relevant to new INFERENCE_NO_INFORMATION_FOR_PARAMETER

See KT-46967 and KT-46996
This commit is contained in:
Denis.Zharkov
2021-05-27 16:27:17 +03:00
committed by TeamCityServer
parent d932d5b0a5
commit d76db0e011
7 changed files with 17 additions and 5 deletions

View File

@@ -1,3 +1,5 @@
// IGNORE_BACKEND_FIR: JVM_IR
// See KT-46967
// MODULE: lib
// FILE: l1.kt
package ann

View File

@@ -1,3 +1,5 @@
// IGNORE_BACKEND_FIR: JVM_IR
// See KT-46996
// DONT_TARGET_EXACT_BACKEND: WASM
// WASM_MUTE_REASON: UNIT_ISSUES
typealias ArrayS = Array<String>

View File

@@ -1,5 +1,6 @@
// WITH_RUNTIME
// DONT_TARGET_EXACT_BACKEND: WASM
// IGNORE_BACKEND_FIR: JVM_IR
@OptIn(ExperimentalStdlibApi::class)
fun foo1() {
@@ -51,4 +52,4 @@ fun box(): String {
foo3()
foo4()
return "OK"
}
}

View File

@@ -1,6 +1,7 @@
// DONT_TARGET_EXACT_BACKEND: WASM
// !LANGUAGE: +UnrestrictedBuilderInference
// WITH_RUNTIME
// IGNORE_BACKEND_FIR: JVM_IR
fun <R> select(vararg x: R) = x[0]
fun <K> myEmptyList(): List<K> = emptyList()
@@ -23,4 +24,4 @@ fun box(): String {
f2()
f3()
return "OK"
}
}

View File

@@ -1,5 +1,6 @@
// DONT_TARGET_EXACT_BACKEND: WASM
// WITH_RUNTIME
// IGNORE_BACKEND_FIR: JVM_IR
public inline fun <R, C : MutableCollection<in R>> flatMapTo1(destination: C, transform: (List<String>) -> Iterable<R>) {}
@@ -9,4 +10,4 @@ fun box(): String {
flatMapTo1(this) { it }
}
return "OK"
}
}

View File

@@ -1,3 +1,5 @@
// IGNORE_BACKEND_FIR: JVM_IR
// See KT-46996
typealias BoolArray = Array<Boolean>
typealias IArray = IntArray
typealias MyArray<T> = Array<T>
@@ -13,4 +15,4 @@ fun box(): String {
if (ma[0] != 42) return "Fail #2"
return "OK"
}
}

View File

@@ -1,5 +1,8 @@
// IGNORE_BACKEND_FIR: ANY
// See KT-46996
class Cell<T>(val value: T)
typealias IntAlias = Cell<Int>
fun test() = IntAlias(42)
fun test() = IntAlias(42)