mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 05:09:37 +07:00
7 lines
225 B
Java
7 lines
225 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>
|
|
} |