Files
openide/java/java-tests/testData/codeInsight/completeStatement/ThrowTwoLinesSemicolon.java
Tagir Valeev b8792b5e29 [java-completion] MissingThrowExpressionFixer: avoid completion if it's started on the expression line
Fixes IDEA-367667 Complete current statement action breaks on a new line character

GitOrigin-RevId: fed8b5d8d860f491391413383922c112d9649eff
2025-03-07 13:38:36 +00:00

7 lines
116 B
Java

class Scratch {
public static void main(String[] args) {
throw
new <caret>RuntimeException("aaa")
}
}