mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
IDEA-68563 complete current statement generates invalid cod
Corrected completion of 'return' expression inside non-void method
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
public class Foo {
|
||||
public String foo() {
|
||||
return String.valueOf(
|
||||
1<caret>
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public class Foo {
|
||||
public String foo() {
|
||||
return String.valueOf(
|
||||
1
|
||||
);<caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user