new inference: provide lambda incompatibility message based on failed inference (IDEA-131882)

This commit is contained in:
Anna Kozlova
2015-02-19 18:07:59 +01:00
parent 4f0ab6f093
commit 11e81ab9d5
2 changed files with 10 additions and 4 deletions
@@ -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>));
}
}