mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-05 04:40:28 +07:00
[java-incomplete-model] Assume that any unresolved class-type is assignable to java.lang.Object
Partially improves inference in incomplete mode GitOrigin-RevId: 1d9c7c75afd524ea02980be8f96c19fba1eaaf54
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5835df8dd6
commit
838cf2d73c
@@ -115,7 +115,7 @@ public class Main {
|
||||
|
||||
// Unresolved reference
|
||||
void f(Collection<? extends Foo> c) {
|
||||
R treeSet = new TreeSet();
|
||||
TreeSet treeSet = new TreeSet();
|
||||
for (Foo foo : c) {
|
||||
treeSet.add(foo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user