overload resolution: don't skip errors from another context (IDEA-151119)

This commit is contained in:
Anna Kozlova
2016-02-02 14:38:40 +03:00
parent 2aa6d4fb87
commit a6625994fb
5 changed files with 30 additions and 5 deletions
@@ -29,7 +29,10 @@ abstract class NoFormalParamTypeInferenceNeeded {
Integer zip = zip(a -> zip(<error descr="no instance(s) of type variable(s) exist so that Object conforms to Integer
inference variable R has incompatible bounds:
lower bounds: Object
upper bounds: Object, Integer">text -> text</error>));
upper bounds: Object, Integer
inference variable R has incompatible bounds:
lower bounds: Object
upper bounds: Object, R, Integer">text -> text</error>));
}
}