163afc94bc
Use -Xlambdas=class in tests which were checking specific things related to how anonymous classes for lambdas work (such as receiver mangling, function arity etc.)
20 lines
329 B
Kotlin
Vendored
20 lines
329 B
Kotlin
Vendored
// IR_DIFFERENCE
|
|
// LOCAL_VARIABLE_TABLE
|
|
// LAMBDAS: CLASS
|
|
|
|
fun foo() {
|
|
t { (`a b`, `b$c`, `c-d`, `b$$c--d`, `a()§&*&^@あ化`) -> }
|
|
}
|
|
|
|
private fun t(block: (Arr) -> Unit) {
|
|
block(Arr())
|
|
}
|
|
|
|
private data class Arr(
|
|
val a1: Int = 0,
|
|
val a2: Int = 0,
|
|
val a3: Int = 0,
|
|
val a4: Int = 0,
|
|
val a5: Int = 0
|
|
)
|