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:
Anna Kozlova
2015-02-19 18:07:55 +01:00
parent 7bdb789b45
commit b06817081b
8 changed files with 23 additions and 15 deletions
@@ -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>));
}
}