-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
!!
should be disallowed
#29902
Comments
Relates to #25372 (warn for un-necessary |
Was there an LDM decision to support this? |
I've updated the linked issue (warn for un-necessary |
I’m pretty sure that the decision not to warn included a decision not to error. |
The rationale for not warning (namely so that copy&paste doesn't produce annoying warnings) doesn't apply to '!!' which would be an error in any context. |
Wouldn’t copy-and-paste (e.g. to inline a variable) now possibly cause an annoying error? |
Yes, that could happen. |
Yes, I think it is permitted by design and not harmful. |
The text was updated successfully, but these errors were encountered: