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

Semantic token for keyword 'undefined' #456

Closed
nlebedenco opened this issue Feb 8, 2022 · 2 comments · Fixed by #574
Closed

Semantic token for keyword 'undefined' #456

nlebedenco opened this issue Feb 8, 2022 · 2 comments · Fixed by #574
Labels
bug Something isn't working

Comments

@nlebedenco
Copy link

Currently the keyword "undefined" is not classified. It could be tagged as a .keywordLiteral token similarly to how "unreachable" is handled in fn handleToken(self: *Builder, tok: Ast.TokenIndex) !void.

@nektro
Copy link
Contributor

nektro commented Aug 5, 2022

undefined is not a keyword https://ziglang.org/documentation/master/#Keyword-Reference

@haze
Copy link
Contributor

haze commented Aug 5, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants