mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
java: type args on raw type: ignore method calls for java 7+ completely (IDEA-262803)
GitOrigin-RevId: 99292415f76a328617b7fcbb2516085e58be76d2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1dbf9d4dc4
commit
669059a88f
@@ -13,7 +13,7 @@ class GenericsTest {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
String v1 = new SomeClass().<error descr="Type arguments given on a raw method"><String></error>getX();
|
||||
<error descr="Incompatible types. Found: 'java.lang.Object', required: 'java.lang.String'">String v1 = new SomeClass().<String>getX();</error>
|
||||
String v2 = new SomeClass().f(); //
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user