Syntax checker incorrectly flags set()
Issue #242
resolved
private void foo() {
set(1);
}
private void set(Integer i) { }
In the above snippet, there will be a red squiggly on the open parenthesis of set(1)
with the following message:
< expected, got '('
<, <name identifier> or '[' expected, got '('
Comments (3)
-
repo owner -
repo owner -
assigned issue to
- changed version to 1.6.8.5
-
assigned issue to
-
repo owner - changed status to resolved
Delivered with 1.6.8.5.
- Log in to comment
Thanks, Jeff. One of the most fun things about reverse engineering grammars for Apex/SOQL/SOSL is that the line between reserved words and valid identifier names is very blurry, especially across the three languages. I have a pretty standard approach to resolving these types of issues, though, so I'll make sure this gets addressed in one of the near-term releases.