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,5 +1,6 @@
// IGNORE_BACKEND: JVM
// IGNORE_BACKEND_MULTI_MODULE: JVM, JVM_IR
// IGNORE_BACKEND_MULTI_MODULE: JVM
// NO_CHECK_LAMBDA_INLINING
// FILE: 1.kt
package test
@@ -28,4 +29,4 @@ class A(val x: String, f: () -> IFoo = {
fun box(): String {
return A("O").foo.foo()
}
}