IDEA-87248 (smart type pointer manager should be more tolerant to unknown types)

This commit is contained in:
Roman Shevchenko
2012-06-08 20:53:28 +04:00
parent ec518e1797
commit 69f07ad01e
7 changed files with 42 additions and 10 deletions
@@ -37,4 +37,8 @@ class C {
IntParser intParser = <weak_warning descr="Lambda expressions type check is not yet implemented">(String s) -> Integer.parseInt(s)</weak_warning>;
ListProducer<String> listProducer = <weak_warning descr="Lambda expressions type check is not yet implemented"><T>() -> new ArrayList<T>()</weak_warning>;
}
Runnable foo() {
return <weak_warning descr="Lambda expressions type check is not yet implemented">() -> { System.out.println("foo"); }</weak_warning>;
}
}