mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
new inference: initial tests
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
class B<T,S>{}
|
||||
abstract class A<T> {
|
||||
abstract B<T,T> foo();
|
||||
<T> void baz(B<T,T> b){}
|
||||
void bar(A<?> a){
|
||||
baz(a.foo());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user