IDEA-68684 Extra parenthesis and semicolon in inserted by smart completion of array type initializer in some cases

This commit is contained in:
peter
2011-09-23 20:21:55 +02:00
parent 0b72160b7a
commit 8fb263884a
5 changed files with 14 additions and 4 deletions
@@ -0,0 +1,5 @@
class Super {
void foo(String[] params, int... indices) {
foo(new String[<caret>], 0);
}
}
@@ -0,0 +1,5 @@
class Super {
void foo(String[] params, int... indices) {
foo(new <caret>, 0);
}
}
@@ -2,7 +2,7 @@ class Foooo {
int bar(int a, Object... varargs) {}
int foo() {
bar(hashCode())<caret>;
bar(hashCode()<caret>);
}
}