mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
capture wildcards in type casts (IDEA-101862; IDEA-97703)
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
import java.util.Collection;
|
||||
|
||||
class Foo {
|
||||
private void test() {
|
||||
Object x = null;
|
||||
((java.util.Collection<?>)x).add<error descr="'add(capture<?>)' in 'java.util.Collection' cannot be applied to '(java.lang.String)'">("")</error>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user