Files
Roman Golyshev 0cad4c9632 KT-64832 [FIR] Add more testData for invoke on local variables
Covers:
- suspend functional local variables
- overloads
- custom types with invoke operator
2024-01-11 09:58:04 +00:00

10 lines
143 B
Kotlin
Vendored

fun foo() {
val x = fun(s: String) {}
fun nested() {
val <!UNUSED_VARIABLE!>x<!> = fun(i: Int) {}
x("hello")
}
}