mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-06-15 02:56:20 +07:00
8 lines
230 B
Java
8 lines
230 B
Java
class Neg10 {
|
|
static class Foo<X> {
|
|
Foo(X x) {}
|
|
}
|
|
|
|
<error descr="Incompatible types. Found: 'Neg10.Foo<java.lang.Integer>', required: 'Neg10.Foo<java.lang.Number>'">Foo<Number> fw = new Foo<>(1);</error>
|
|
}
|