Skip to content

Added conformance to UInt16 to SyntaxKind and made it CaseIterable #2363

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

Closed

Conversation

joehinkle11
Copy link

No description provided.

This is helpful for clients who need to encode the syntax kind stripped of the type
@ahoppen
Copy link
Member

ahoppen commented Nov 16, 2023

We explicitly removed the conformance of SyntaxKind to CaseIterable in #2292.

Out of curiosity: Why do you need to iterate over all elements in SyntaxKind? There shouldn’t be any good reason to iterate over all the nodes, AFAICT.

@joehinkle11
Copy link
Author

No I don't need it. Not sure what I was thinking TBH

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.

2 participants