Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/advHighlighting/IllegalWhitespaces.java
Tagir Valeev b5f948dd5f [java-highlighting] IDEA-265053 Highlight not-wellformed statements without semicolon as a "not-a-statement"
Also suggest 'introduce local variable' as a quick-fix

GitOrigin-RevId: 2a15a1d35ed1755ab043a40a06136ed946c4a516
2021-03-24 23:54:49 +00:00

9 lines
445 B
Java
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
class C {
void m() {
f(1,<error descr="Expression expected"><error descr="Illegal character: U+00A0"> </error></error><error descr="',' or ')' expected">2</error>);
}
void f(int x, int y) {
if (x == 0 ||<error descr="')' expected"><error descr="Expression expected"><error descr="Illegal character: U+00A0"> </error></error></error><error descr="Not a statement">y == 0</error><error descr="Unexpected token">)</error> { }
}
}