mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +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
-1
@@ -26,7 +26,7 @@ abstract class NoFormalParamTypeInferenceNeeded {
|
||||
{
|
||||
map(a -> zip(text -> text));
|
||||
zip(a -> zip(text -> text));
|
||||
Integer zip = zip(<error descr="Cyclic inference">a -> zip(text -> text)</error>);
|
||||
Integer zip = zip(a -> zip(<error descr="Cyclic inference">text -> text</error>));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user