KT-64832 [FIR] Add more testData for invoke on local variables

Covers:
- suspend functional local variables
- overloads
- custom types with invoke operator
This commit is contained in:
Roman Golyshev
2024-01-09 13:17:21 +01:00
committed by Space Team
parent 2c90f1327d
commit 0cad4c9632
16 changed files with 259 additions and 0 deletions
@@ -0,0 +1,9 @@
fun foo() {
val x = fun(s: String) {}
fun nested() {
val <!UNUSED_VARIABLE!>x<!> = fun(i: Int) {}
x(10)
}
}