mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
new inference: initial tests
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
import java.util.Collection;
|
||||
|
||||
public class IncorrectError extends NarrowClass {
|
||||
public Collection<String> bar() {
|
||||
return super.doStuff();
|
||||
}
|
||||
}
|
||||
|
||||
interface Interface {
|
||||
Collection<String> doStuff();
|
||||
}
|
||||
|
||||
class NarrowClass extends BaseClass implements Interface {
|
||||
}
|
||||
|
||||
class BaseClass {
|
||||
public Collection doStuff() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user