KT-6407 Completing function with "tab" (replace) shouldn't insert parentheses when type arguments are present

#KT-6407 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-12-23 21:31:39 +03:00
parent 6e6289435f
commit bfdbbe0247
4 changed files with 47 additions and 6 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'