Restore accidentally removed parameter index passing to call generator
Parameter index was removed in
7690a8bc3e commit:
"Get rid of redundant 'afterParameterPut' method from call generators"
#KT-17653 Fixed
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// FILE: 1.kt
|
||||
|
||||
package test
|
||||
|
||||
inline fun inlineFun(vararg constraints: String, receiver: String = "O", init: String.() -> String): String {
|
||||
return receiver.init()
|
||||
}
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
import test.*
|
||||
|
||||
fun box(): String {
|
||||
return inlineFun {
|
||||
this + "K"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user