testdata for IDEA-137694

This commit is contained in:
Anna Kozlova
2015-03-16 18:50:36 +01:00
parent b43bdebb4b
commit dfc1f6b698
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
class Test {
Test() {
foo(<error descr="Unhandled exception: java.lang.Exception">this::fs</error>);
foo((s) -> <error descr="Unhandled exception: java.lang.Exception">fs(s)</error>);
}
void foo(I<String, String> iss) {}
String fs(String s) throws Exception { throw new Exception(); }
}
interface I<T, R> {
R f(T t);
}