lambda: nested lambda return statements exclusion

This commit is contained in:
anna
2012-10-15 15:35:58 +02:00
parent 5c798946df
commit e775459321
3 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
interface I {
Integer _();
}
interface I1 {
String _();
}
class Test {
I i = () -> {
I1 i1 = () -> {return "";};
return 1;
};
}