Parse error on keywords as enum case identifier

Description

Currently the parser does not allow keywords as valid indetifiers for enum cases (see example).

The grammar should be adjusted so that ENUM_CASE accepts NAME_IDENTIFIER_OR_KEYWORD instead of NAME_IDENTIFIER as a valid element.

Activity

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Priority

Sentry

Created April 26, 2022 at 10:03 AM
Updated October 16, 2024 at 2:37 PM
Resolved July 25, 2022 at 1:39 PM