Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upUnary expressions like `+++++++---------++++++1` shouldn't be valid #955
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Reason is the recursion here: Line 554 in 5279d50 |
This comment has been minimized.
This comment has been minimized.
|
Yes. This is very much intended and valid. Why would this be a parsing error? |
This comment has been minimized.
This comment has been minimized.
|
In that case, why is |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
Ok yeah, though Go, JS, and some other languages don't allow this notation, Python seemingly does. And you can make a case for that it makes sense. So fine to close this from my side then. |
This comment has been minimized.
This comment has been minimized.
|
(but yeah, it might be cool do allow |
This comment has been minimized.
This comment has been minimized.
|
Yes, I'll open a separate issue for that. |
fabxc
closed this
Aug 3, 2015
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
juliusv commentedAug 3, 2015
E.g.
+++++++---------++++++1returns-1. Guess it should be a parse error?