mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
check for list size: skiped varargs parameter (16666)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class Test {
|
||||
void fo<caret>o(int i, int ... ja){
|
||||
}
|
||||
|
||||
void bar() {
|
||||
foo(0);
|
||||
foo(0, 1);
|
||||
foo(0, 1, 2);
|
||||
foo(0, new int[]{3, 4});
|
||||
foo(0, new int[0]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
class Test {
|
||||
void foo(int i){
|
||||
}
|
||||
|
||||
void bar() {
|
||||
foo(0);
|
||||
foo(0);
|
||||
foo(0);
|
||||
foo(0);
|
||||
foo(0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user