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:
committed by
Space Team
parent
2c90f1327d
commit
0cad4c9632
+9
@@ -0,0 +1,9 @@
|
||||
fun foo() {
|
||||
val x = fun(s: String) {}
|
||||
|
||||
fun nested() {
|
||||
val <!UNUSED_VARIABLE!>x<!> = fun(i: Int) {}
|
||||
|
||||
x(10)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user