mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 00:29:34 +07:00
moved java resolve tests to community
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
class Key<T> { T t; }
|
||||
|
||||
class WKey<W, T> extends Key<T> { W w; }
|
||||
|
||||
class Items {
|
||||
<T> void addItem(Key<T> key, T value) {}
|
||||
|
||||
<T, W> void addItem(WKey<W, T> key, T value) {}
|
||||
}
|
||||
|
||||
class IBug {
|
||||
public IBug() {
|
||||
Items items = new Items();
|
||||
|
||||
WKey<Object, String> sk = new WKey<Object, String>();
|
||||
|
||||
items.<ref>addItem(sk, "");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user