Convert lambda to reference: no more allowed for extension KFunction parameters #KT-13527 Fixed
(cherry picked from commit 84c4ff7)
This commit is contained in:
committed by
Mikhail Glukhikh
parent
ec41289664
commit
863e4afc7b
@@ -0,0 +1,11 @@
|
||||
// IS_APPLICABLE: false
|
||||
|
||||
fun callMe(s: String) {
|
||||
}
|
||||
|
||||
fun body(receiver: String.(String) -> Unit) {
|
||||
}
|
||||
|
||||
fun usage() {
|
||||
body { <caret>callMe(it) }
|
||||
}
|
||||
Reference in New Issue
Block a user