-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Restrict usages of underscore #10125
Conversation
i.e. ``` const _ = 1 echo _ # Now an error ```
For eg. ``` type _ = object # Error ```
For eg. ``` template _(): var int = i # Error ```
``` type X = enum _ # Error ```
``` type X = object _: int # Error ```
Note:
which is fixed by this PR => #10107 |
Did you ensure this doesn't break |
Arraymancer breaks (as do the nim tests as seen in the CIs) |
Ok, will simply close #7171 instead. It's really a non-issue. |
Shouldn't arraymancer use a different identifier? Using it to get something to work through some edge case seems like a big hack. |
Closes #7171
cc @Araq @dom96 @mratsim
Note: I might have missed some places, so let me know if you know of any ;)