Complete functions with single parameter on typing '{'

For KT-4049 When completing a function that takes a lambda and immediately typing '{', swallow the '{'
 #KT-4049 Fixed
This commit is contained in:
Nikolay Krasko
2013-10-15 17:22:08 +04:00
parent 31a4d91122
commit 0c49b91098
9 changed files with 90 additions and 50 deletions
@@ -0,0 +1,5 @@
fun some(f: () -> Unit) { f() }
fun test() {
some<caret>
}
@@ -0,0 +1,5 @@
fun some(f: () -> Unit) { f() }
fun test() {
some { <caret> }
}