mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
8 lines
283 B
Java
8 lines
283 B
Java
class Neg06 {
|
|
|
|
static class CSuperFoo<X> {}
|
|
static class CFoo<X extends Number> extends CSuperFoo<X> {}
|
|
|
|
<error descr="Incompatible types. Found: 'Neg06.CFoo<java.lang.String>', required: 'Neg06.CSuperFoo<java.lang.String>'">CSuperFoo<String> csf1 = new CFoo<>();</error>
|
|
}
|