mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
raw substitutor when erasure happened during inference
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
import java.util.Collection;
|
||||
|
||||
abstract class NCollections {
|
||||
public <T> void foo(Collection<? extends T> coll) {
|
||||
bar((Collection)coll);
|
||||
}
|
||||
|
||||
public abstract <T2 extends Object & Comparable<? super T2>> T2 bar(Collection<? extends T2> coll);
|
||||
}
|
||||
Reference in New Issue
Block a user