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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user