Use parameter names from function type for invoke() function
#KT-435 Fixed #KT-9016 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fun Any.foo1() : (i : Int) -> Unit {
|
||||
return {}
|
||||
}
|
||||
|
||||
fun test(a : Any) {
|
||||
a.foo1()(<!NO_VALUE_FOR_PARAMETER(i)!>)<!>
|
||||
}
|
||||
Reference in New Issue
Block a user