Skip to content

Negative numbers break enums #1330

@hahn-kev

Description

@hahn-kev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions