-
-
Notifications
You must be signed in to change notification settings - Fork 347
PR #8207 without snapshot changes #8236
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
base: main
Are you sure you want to change the base?
Conversation
3759ffd
to
3a339ce
Compare
e1b66bd
to
33a6d5d
Compare
2be7253
to
76b0de4
Compare
76b0de4
to
4bc4550
Compare
4bc4550
to
d385ecc
Compare
}, | ||
'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 |
There was a problem hiding this comment.
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.
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!