IDEA-131845 Lambdas. Wrong current statement completion.

This commit is contained in:
peter
2014-11-10 17:53:26 +01:00
parent db0cef9cc1
commit 38e08bdcf9
5 changed files with 34 additions and 2 deletions
@@ -0,0 +1,15 @@
public class Class1 {
interface Lamb {
Object call(Object... args);
}
public void m(Lamb l) {
}
public static void main(String[] args) {
new Ex().m((arg) -> {
return "<caret>"
});
}
}
@@ -0,0 +1,15 @@
public class Class1 {
interface Lamb {
Object call(Object... args);
}
public void m(Lamb l) {
}
public static void main(String[] args) {
new Ex().m((arg) -> {
return "";<caret>
});
}
}