introduce variable from one line lambda transforms body to code block (IDEA-91122)

This commit is contained in:
Anna Kozlova
2012-09-06 19:10:15 +04:00
parent 3ee8a858bd
commit a8ea5d4deb
7 changed files with 66 additions and 2 deletions
@@ -0,0 +1,8 @@
class Foo {
void test() {
Runnable java = () -> {
String c = "";
System.out.println(c);
};
}
}