[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,4 +1,5 @@
// !LANGUAGE: -NewInference
// IGNORE_BACKEND_FIR: JVM_IR
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FILE: example/Hello.java
@@ -37,6 +38,7 @@ fun box(): String {
// a::someFunction parameter has type of Nothing
// while it's completely safe to pass a lambda for a SAM
// since Hello is effectively contravariant by its parameter
// NB: this ^ is not supported by FIR yet
a.someFunction {
result = it
}