Extract Function: Fix callee replacement in operation expressions
#KT-8294 Fixed
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// PARAM_DESCRIPTOR: value-parameter val plus: kotlin.String.() -> kotlin.Unit defined in foo
|
||||
// PARAM_TYPES: kotlin.String.() -> kotlin.Unit
|
||||
|
||||
fun foo(plus: String.() -> Unit) {
|
||||
"A".(function(plus))()
|
||||
}
|
||||
|
||||
private fun function(plus: String.() -> Unit) = plus
|
||||
Reference in New Issue
Block a user