[FIR2IR] Mute some tests due to captured type problems

This commit is contained in:
Mikhail Glukhikh
2020-09-14 11:37:06 +03:00
parent aa897db132
commit e1b4108e4a
5 changed files with 30 additions and 37 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// FILE: A.java
public class A<T> {
@@ -11,6 +12,7 @@ public class A<T> {
// FILE: test.kt
fun f(x: Any): String {
if (x is A<*>) {
// Fails in FIR due to inconsistent lambda argument type (Nothing? expected)
return x.call { y: Any? -> "OK" }
}
return "Fail"