FIR: Mute backend tests relevant to new INFERENCE_NO_INFORMATION_FOR_PARAMETER
See KT-46967 and KT-46996
This commit is contained in:
committed by
TeamCityServer
parent
d932d5b0a5
commit
d76db0e011
@@ -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>
|
||||||
|
|||||||
Vendored
+2
-1
@@ -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() {
|
||||||
@@ -51,4 +52,4 @@ fun box(): String {
|
|||||||
foo3()
|
foo3()
|
||||||
foo4()
|
foo4()
|
||||||
return "OK"
|
return "OK"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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()
|
||||||
@@ -23,4 +24,4 @@ fun box(): String {
|
|||||||
f2()
|
f2()
|
||||||
f3()
|
f3()
|
||||||
return "OK"
|
return "OK"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>) {}
|
||||||
|
|
||||||
@@ -9,4 +10,4 @@ fun box(): String {
|
|||||||
flatMapTo1(this) { it }
|
flatMapTo1(this) { it }
|
||||||
}
|
}
|
||||||
return "OK"
|
return "OK"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>
|
||||||
@@ -13,4 +15,4 @@ fun box(): String {
|
|||||||
if (ma[0] != 42) return "Fail #2"
|
if (ma[0] != 42) return "Fail #2"
|
||||||
|
|
||||||
return "OK"
|
return "OK"
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-1
@@ -1,5 +1,8 @@
|
|||||||
|
// 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>
|
||||||
|
|
||||||
fun test() = IntAlias(42)
|
fun test() = IntAlias(42)
|
||||||
|
|||||||
Reference in New Issue
Block a user