lambda: skip some cyclic inference cases

This commit is contained in:
Anna Kozlova
2012-08-21 17:04:40 +04:00
parent 03e883689f
commit a5c50473a3
7 changed files with 135 additions and 117 deletions

View File

@@ -7,7 +7,7 @@ class NoInferenceResult {
<T> void m1(T t) { }
void test() {
m((String s1) -> <error descr="Cyclic inference">(String s2) -> s1 + s2</error>);
m(<error descr="Cyclic inference">(String s1) -> (String s2) -> s1 + s2</error>);
m((String s1) -> s1.length());
m((String s1) -> s1);