mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
GenericsUtil: LUB(Object[], int[]) = Object & Cloneable & Serializable type (not Object[])
Part of IDEA-209568
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
class X {
|
||||
void test(boolean flag) {
|
||||
int a = (flag ? new Object[0] : new int[0]).<error descr="Cannot resolve symbol 'length'">length</error>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user