mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
IDEA-131845 Lambdas. Wrong current statement completion.
This commit is contained in:
@@ -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>
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user