-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Wrong unused binding #148
Comments
|
You can evaluate this expression without |
Either way Point remains, |
The problem here is: In libnixf we treat See the image below: Case 1:
That's the reason why Footnotes
|
I do agree that this might be or not an issue depending on how we define "using"... |
In I do see, that the use of the unused binding in the pattern slightly improves the error message in case of calling the function wrong, I also see the benefits in using Vipers original example and how it enables the usage of Still, I consider the warning "unused binding" correct, as the binding itself remains unused. I would prefer an explicit "
As seen above, its not about how we define "unused", it is about the object it describes. |
nil reports an
unused_binding
onhello
, while it is not the case.The text was updated successfully, but these errors were encountered: