Open mmanela opened 5 months ago
The grammar does not properly parse the readonly keyword
readonly
Grammar does not parse the readonly keyword properly leading to errors in the parse tree.
public static readonly int $x = 0;
Which leads to a tree with an error
(property_declaration (visibility_modifier) (static_modifier) type: (type_specifier (qualified_identifier (identifier))) (ERROR) (property_declarator name: (variable) value: (integer)))
I expect the readonly keyword to parse properly
Describe the bug
The grammar does not properly parse the
readonly
keywordRequirements
To Reproduce
Grammar does not parse the
readonly
keyword properly leading to errors in the parse tree.Which leads to a tree with an error
Expected behavior
I expect the
readonly
keyword to parse properly