mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
highlight unresolved method call even with unresoolved arguments
This commit is contained in:
+35
@@ -0,0 +1,35 @@
|
||||
// switch statement
|
||||
|
||||
class a {
|
||||
{
|
||||
<error descr="Case statement outside switch">case 0:</error>
|
||||
}
|
||||
{
|
||||
<error descr="Case statement outside switch">default:</error>
|
||||
}
|
||||
|
||||
{
|
||||
switch (0) {
|
||||
case 0<error descr="':' expected">;</error>
|
||||
}
|
||||
|
||||
switch (0) {
|
||||
default<error descr="':' expected">;</error>
|
||||
}
|
||||
|
||||
switch (0) {
|
||||
////////////////
|
||||
/**
|
||||
*/
|
||||
<error descr="Statement must be prepended with case label">System.out.println();</error>
|
||||
|
||||
|
||||
default<error descr="':' expected">;</error>
|
||||
}
|
||||
|
||||
switch (0) {
|
||||
<error descr="Statement must be prepended with case label">break;</error>
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user