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

ScalametaParser: parse numbers with unary applied #3618

Merged
merged 2 commits into from Mar 10, 2024

Conversation

kitbellew
Copy link
Contributor

@kitbellew kitbellew commented Mar 7, 2024

Just like we did earlier with minus for computing negative values, lets "absorb" any unary op into the numeric or logical constants.

@kitbellew kitbellew force-pushed the numlit branch 2 times, most recently from 012ea9f to 8883669 Compare March 7, 2024 07:16
@kitbellew kitbellew requested a review from tgodzik March 7, 2024 07:17
@kitbellew kitbellew force-pushed the numlit branch 3 times, most recently from 2469cfd to 29b7c60 Compare March 9, 2024 22:09
Just like we did earlier with minus for computing negative values, lets
"absorb" any unary op into the numeric or logical constants.
@kitbellew kitbellew merged commit 45dab70 into scalameta:main Mar 10, 2024
24 checks passed
@kitbellew kitbellew deleted the numlit branch March 10, 2024 15:08
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.

None yet

2 participants