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 number in enum will be outputed as Object in metatype #10094

Closed
BaffinLee opened this issue Feb 25, 2025 · 0 comments · Fixed by #10114
Closed

Negative number in enum will be outputed as Object in metatype #10094

BaffinLee opened this issue Feb 25, 2025 · 0 comments · Fixed by #10114
Assignees
Labels
Milestone

Comments

@kdy1 kdy1 self-assigned this Feb 27, 2025
@kdy1 kdy1 added this to the Planned milestone Feb 27, 2025
kdy1 added a commit that referenced this issue Feb 27, 2025
**Description:**

A negative number is not a numeric literal so we need to handle unary expressions with `op = "-"`.

**Related issue:**

 - Closes #10094
@kdy1 kdy1 modified the milestones: Planned, v1.11.2 Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants