Fix OperatorToFunctionIntention: insert function literal expressions to arguments correctly

This commit is contained in:
Natalia Ukhorskaya
2015-12-16 16:37:36 +03:00
parent 6bfbec8c88
commit 7f0065c806
3 changed files with 11 additions and 4 deletions
@@ -3,5 +3,5 @@ class Mocha() {
}
fun main() {
val mocha = Mocha()
val testing = mocha.invoke{ x: Int -> "hello world" }
val testing = mocha.invoke { x: Int -> "hello world" }
}