Files
kotlin-fork/compiler/testData/diagnostics/tests/regressions/resolveCollectionLiteralInsideLambda.fir.kt
T

8 lines
165 B
Kotlin
Vendored

// !DIAGNOSTICS: -UNUSED_PARAMETER
fun foo(l: () -> Unit) {}
fun bar(l: () -> String) {}
val a = foo { <!UNSUPPORTED!>[]<!> }
val b = bar { <!UNSUPPORTED!>[]<!> }