JVM: enable -Xlambdas=class for some backend tests

These tests are checking the specifics of the class-generated lambdas.
This commit is contained in:
Alexander Udalov
2023-05-03 11:48:41 +02:00
committed by Space Team
parent 834ba397ad
commit d757847ed6
16 changed files with 32 additions and 3 deletions
@@ -1,3 +1,5 @@
// LAMBDAS: CLASS
data class A(val x: Double = 1.0, val y: String = "", val z: Char = '0')
fun foo(a: A, block: (A, String, Int) -> String): String = block(a, "", 1)