Skip to content

Conversation

rtfeldman
Copy link
Contributor

With snapshot changes, the diff on #8207 is too gigantic to be reviewable. This branch is just to have a smaller diff to work with!

@rtfeldman rtfeldman force-pushed the new-changes-diff branch 4 times, most recently from e1b66bd to 33a6d5d Compare September 8, 2025 03:32
@rtfeldman rtfeldman force-pushed the new-changes-diff branch 4 times, most recently from 2be7253 to 76b0de4 Compare September 9, 2025 00:41
},
'0'...'9' => return try self.tokenizeNumber(self.gpa, start),
'/' => return chompOneOfTwo(&self.pos, src, '/', .OpSlash, .OpDoubleSlash),
'-' => return chompOneOfTwo(&self.pos, src, '>', .OpBinaryMinus, .OpThinArrow), // TODO handle unary minus here by checking for preceding whitespace
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was curious about your rework and came across this comment. Just my two cents: If a-b should be the same as a - b, then whitespace is not the right way to distinguish between binary and unary minus.

This is probably not that relevant in the grand scheme of this rework. Just a small thing I noticed.

Copy link

Thank you for your contribution! Sometimes PRs end up staying open for a long time without activity, which can make the list of open PRs get long and time-consuming to review. To keep things manageable for reviewers, this bot automatically closes PRs that haven’t had activity in 60 days. This PR hasn’t had activity in 30 days, so it will be automatically closed if there is no more activity in the next 30 days. Keep in mind that PRs marked Closed are not deleted, so no matter what, the PR will still be right here in the repo. You can always access it and reopen it anytime you like!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants