mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 07:40:42 +07:00
new inference: initial tests
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
interface Foo<A> {}
|
||||
interface Bar extends Foo<Boolean> {}
|
||||
class FooFactory {
|
||||
public <A> Foo<A> getFoo() {
|
||||
return (Foo<A>) new Bar() {};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user