Skip to content

Conversation

BipulLamsal
Copy link

fix for the issue #1536

fn parse_enum_element(lexer: &mut ParseSession) -> Option<AstNode> {
let start = lexer.location();

let idfr = parse_identifier(lexer)?;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before enum identifier are checked prior it doesnot pass one of the test which validates for expression and here the check is actually expects identifier instead of literal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant