Files
kotlin-fork/compiler/testData/diagnostics/tests/unitConversion/kt49394.fir.kt
T

15 lines
156 B
Kotlin
Vendored

fun interface Run {
fun run()
}
fun handle(run: Run) {
//...
}
val x = {
"STRING"
}
fun test() {
handle(<!ARGUMENT_TYPE_MISMATCH!>x<!>)
}