Special behaviour for space completion char on function literal insertion

This commit is contained in:
Nikolay Krasko
2012-10-23 12:14:53 +04:00
parent 2abf9ac051
commit a3b86f5f8b
4 changed files with 32 additions and 6 deletions
@@ -0,0 +1,7 @@
class Some
fun <T> Some.filter(predicate : (T) -> jet.Boolean) = throw UnsupportedOperationException()
fun main(args: Array<String>) {
Some().fil<caret>
}
@@ -0,0 +1,7 @@
class Some
fun <T> Some.filter(predicate : (T) -> jet.Boolean) = throw UnsupportedOperationException()
fun main(args: Array<String>) {
Some().filter { <caret> }
}