Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.0.4
-
None
-
None
Description
Consider the following:
def var // optional comment var = 'initial value'
Parrot Parser sees first "var" as modifier and not variable declaration. Thus the split declaration and initialization is actually parsed like a declaration and initialization. IDE colors the modifiers differently from variable names and so "def" and first "var" get the same coloration.
"def" can also be replaced by "final" and the same issue is observed.