mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
[java-completion] MissingClassBody: insert body before last error element
The last error element could start a new record (IDEA-290767) or be just unparsed garbage. In any case, adding {} after it would not make anything better, as {} will be unparsed as well.
GitOrigin-RevId: c3ffe1eb107e7c6ee08ff4e867d83323c14e9613
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4b8415a4a4
commit
1cbe81473a
@@ -0,0 +1,7 @@
|
||||
public class ClassBeforeRecord {
|
||||
|
||||
class InnerA<caret>
|
||||
|
||||
record InnerB() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
public class ClassBeforeRecord {
|
||||
|
||||
class InnerA {
|
||||
<caret>
|
||||
}
|
||||
|
||||
record InnerB() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user