mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
unchecked warning: mark as unchecked if passed to strict subtyping (IDEA-151302)
This commit is contained in:
+4
-1
@@ -12,7 +12,10 @@ class Test {
|
||||
SuperFoo<String> ls = foo(<error descr="no instance(s) of type variable(s) exist so that String conforms to Number
|
||||
inference variable R has incompatible bounds:
|
||||
equality constraints: String
|
||||
upper bounds: Object, Number">() -> new Foo<>()</error>);
|
||||
upper bounds: Object, Number
|
||||
inference variable X has incompatible bounds:
|
||||
equality constraints: R
|
||||
upper bounds: Number">() -> new Foo<>()</error>);
|
||||
SuperFoo<Integer> li = foo(() -> new Foo<>());
|
||||
SuperFoo<?> lw = foo(() -> new Foo<>());
|
||||
}
|
||||
Reference in New Issue
Block a user