Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support raw identifiers for enums and enum variants #4323

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

RunDevelopment
Copy link
Contributor

Using raw identifiers for enum names and enum variant names resulted in syntactically invalid JS. This PR fixes this issue by unraw-ing the identifiers.

crates/backend/src/ast.rs Show resolved Hide resolved
crates/backend/src/encode.rs Show resolved Hide resolved
@daxpedda daxpedda added the waiting for author Waiting for author to respond label Dec 6, 2024
@RunDevelopment RunDevelopment marked this pull request as draft December 6, 2024 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for author Waiting for author to respond
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants