mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 08:45:34 +07:00
generic array creation: check if component type is reifiable (IDEA-91743)
This commit is contained in:
+6
@@ -138,4 +138,10 @@ class ClassLiteral<T> {
|
||||
Object c5 = List[].class;
|
||||
Object c6 = List.class;
|
||||
}
|
||||
}
|
||||
|
||||
class Outer<E> {
|
||||
final Inner[] i = <error descr="Generic array creation">new Inner[10]</error>;
|
||||
class Inner {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user