mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
forbid diamonds on non-parameterized types (javac should be fixed accordingly)
This commit is contained in:
+6
@@ -67,3 +67,9 @@ class MyTest {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class NonParameterized {
|
||||
void foo() {
|
||||
new NonParameterized<<error descr="Diamond operator is not applicable for non-parameterized types"></error>>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user