mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-22 07:34:00 +07:00
new inference: reject to infer variables if it's upper bound doesn't agree with lower/equal bound (when present)
This commit is contained in:
1 parent
7bdb789b45
commit
b06817081b
8 files changed
+23
-15
No files matched your search
+1
-1
@@ -39,6 +39,6 @@ class MyTest1 {
|
||||
static void foo(I3 i) {}
|
||||
|
||||
static {
|
||||
foo<error descr="Ambiguous method call: both 'MyTest1.foo(I1)' and 'MyTest1.foo(I2)' match">(Foo::new)</error>;
|
||||
foo<error descr="Cannot resolve method 'foo(<method reference>)'">(Foo::new)</error>;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user