mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
new inference: provide lambda incompatibility message based on failed inference (IDEA-131882)
This commit is contained in:
+3
-1
@@ -26,7 +26,9 @@ abstract class NoFormalParamTypeInferenceNeeded {
|
||||
{
|
||||
map(a -> zip(text -> text));
|
||||
zip(a -> zip(text -> text));
|
||||
Integer zip = zip(a -> zip(<error descr="Cyclic inference">text -> text</error>));
|
||||
Integer zip = zip(a -> zip(<error descr="inference variable R has incompatible bounds:
|
||||
lower bounds: Object
|
||||
upper bounds: Object, R">text -> text</error>));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user