KT-7259 Space inserted before parenthesis in completion of call

#KT-7259 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-04-03 11:47:07 +03:00
parent 93d9e78047
commit e2979614ad
6 changed files with 44 additions and 4 deletions
@@ -0,0 +1,6 @@
fun <T> foo() {}
fun use() = f<caret> <String>()
// ELEMENT: foo
// CHAR: '\t'
@@ -0,0 +1,6 @@
fun <T> foo() {}
fun use() = foo <String>()<caret>
// ELEMENT: foo
// CHAR: '\t'
@@ -0,0 +1,8 @@
class Pair(val first: Int, val second: Int)
fun foo(p: Pair) {
if (p.<caret>first < p.second)
}
// ELEMENT: hashCode
// CHAR: '\t'
@@ -0,0 +1,8 @@
class Pair(val first: Int, val second: Int)
fun foo(p: Pair) {
if (p.hashCode()<caret> < p.second)
}
// ELEMENT: hashCode
// CHAR: '\t'