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
@@ -1,3 +1,5 @@
// IGNORE_BACKEND_FIR: JVM_IR
// See KT-46967
// MODULE: lib // MODULE: lib
// FILE: l1.kt // FILE: l1.kt
package ann package ann
@@ -1,3 +1,5 @@
// IGNORE_BACKEND_FIR: JVM_IR
// See KT-46996
// DONT_TARGET_EXACT_BACKEND: WASM // DONT_TARGET_EXACT_BACKEND: WASM
// WASM_MUTE_REASON: UNIT_ISSUES // WASM_MUTE_REASON: UNIT_ISSUES
typealias ArrayS = Array<String> typealias ArrayS = Array<String>
@@ -1,5 +1,6 @@
// WITH_RUNTIME // WITH_RUNTIME
// DONT_TARGET_EXACT_BACKEND: WASM // DONT_TARGET_EXACT_BACKEND: WASM
// IGNORE_BACKEND_FIR: JVM_IR
@OptIn(ExperimentalStdlibApi::class) @OptIn(ExperimentalStdlibApi::class)
fun foo1() { fun foo1() {
@@ -1,6 +1,7 @@
// DONT_TARGET_EXACT_BACKEND: WASM // DONT_TARGET_EXACT_BACKEND: WASM
// !LANGUAGE: +UnrestrictedBuilderInference // !LANGUAGE: +UnrestrictedBuilderInference
// WITH_RUNTIME // WITH_RUNTIME
// IGNORE_BACKEND_FIR: JVM_IR
fun <R> select(vararg x: R) = x[0] fun <R> select(vararg x: R) = x[0]
fun <K> myEmptyList(): List<K> = emptyList() fun <K> myEmptyList(): List<K> = emptyList()
@@ -1,5 +1,6 @@
// DONT_TARGET_EXACT_BACKEND: WASM // DONT_TARGET_EXACT_BACKEND: WASM
// WITH_RUNTIME // WITH_RUNTIME
// IGNORE_BACKEND_FIR: JVM_IR
public inline fun <R, C : MutableCollection<in R>> flatMapTo1(destination: C, transform: (List<String>) -> Iterable<R>) {} public inline fun <R, C : MutableCollection<in R>> flatMapTo1(destination: C, transform: (List<String>) -> Iterable<R>) {}
@@ -1,3 +1,5 @@
// IGNORE_BACKEND_FIR: JVM_IR
// See KT-46996
typealias BoolArray = Array<Boolean> typealias BoolArray = Array<Boolean>
typealias IArray = IntArray typealias IArray = IntArray
typealias MyArray<T> = Array<T> typealias MyArray<T> = Array<T>
@@ -1,3 +1,6 @@
// IGNORE_BACKEND_FIR: ANY
// See KT-46996
class Cell<T>(val value: T) class Cell<T>(val value: T)
typealias IntAlias = Cell<Int> typealias IntAlias = Cell<Int>