blob: 86b73a90d0246f3c8ff2ccad741f4cff3136af3a (
plain)
1
2
3
4
5
6
7
|
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>
}
|