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

Negative numbers break enums #1330

Closed
hahn-kev opened this issue Jul 14, 2022 · 0 comments
Closed

Negative numbers break enums #1330

hahn-kev opened this issue Jul 14, 2022 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@hahn-kev
Copy link
Contributor

If you define a simple enum like this ---@alias someNumbers 1|2|-2|4 all values after the - are dropped and treated like a comment.

To Reproduce
image
as you can see 2|4 is shown to be a comment on the alias.

Expected behavior
Negative numbers should not break enums

@sumneko sumneko added the bug Something isn't working label Jul 14, 2022
@sumneko sumneko added this to the 3.5.0 milestone Jul 14, 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

No branches or pull requests

2 participants