Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting7/GenericsArrayCreation.java
Bas Leijdekkers ab928055bb Java: better error reporting and quick fixes for the diamond operator and generic array creation (IDEA-299195)
GitOrigin-RevId: baa354ad9132bf6d939f19ecd2cfd6cfc56466a2
2024-01-08 17:34:42 +00:00

8 lines
146 B
Java

class A<T> {
class B{}
}
class C<T> extends A<T> {
{
B[] o = <error descr="Generic array creation not allowed">{}</error>;
}
}