JVM IR: unmute tests on anonymous objects in inline lambdas

All tests on anonymous objects should use the NO_CHECK_LAMBDA_INLINING
directive, since the test framework can't tell an anonymous object from
a lambda and checking that anonymous objects are "inlined" makes no
sense.
This commit is contained in:
Alexander Udalov
2020-09-01 20:27:01 +02:00
parent e7937db8fa
commit 24aee1cce3
4 changed files with 10 additions and 11 deletions
@@ -1,6 +1,4 @@
// IGNORE_BACKEND: JVM
// IGNORE_BACKEND_MULTI_MODULE: JVM, JVM_IR
// NO_CHECK_LAMBDA_INLINING
// FILE: 1.kt
package test
@@ -28,4 +26,4 @@ fun bar(): Int {
}.compute()
}
fun box() = if (bar() == 42) "OK" else "fail"
fun box() = if (bar() == 42) "OK" else "fail"