We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@args
Describe the bug
args in { foo, bar }@args isn't reported to be unused.
args
{ foo, bar }@args
Logs (Required)
Configuration
If you have some custom configuration, please paste it here.
To Reproduce Create a new Nix file and type this:
{ foo, bar }@args: foo + bar
args is unused. nixd doesn't report this, also neither does nixf:
=> nixf-tidy < a.nix []
Expected behavior Report a warning on args being unused.
Screenshots
Additional context Found in #558
The text was updated successfully, but these errors were encountered:
libnixf/Sema: differentiate lambda argument with and without formals (#…
ce4cd6c
…561) Fixes #560
Successfully merging a pull request may close this issue.
Describe the bug
args
in{ foo, bar }@args
isn't reported to be unused.Logs (Required)
Configuration
If you have some custom configuration, please paste it here.
To Reproduce
Create a new Nix file and type this:
args
is unused. nixd doesn't report this, also neither does nixf:Expected behavior
Report a warning on
args
being unused.Screenshots
![image](https://private-user-images.githubusercontent.com/42209822/353694209-110aa824-05c9-4f55-b2be-b6b356a57a43.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMjg1MDUsIm5iZiI6MTczOTIyODIwNSwicGF0aCI6Ii80MjIwOTgyMi8zNTM2OTQyMDktMTEwYWE4MjQtMDVjOS00ZjU1LWIyYmUtYjZiMzU2YTU3YTQzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDIyNTY0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIyOTA4YmFjOTljYzFmMWUzZjRjMjE1NDVlODY1NTk2NjQxNmY2MjUzYmQ3Y2QwMjE0OGJjZTFlYWVmYTAyMzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.SqyyYO1ncmgxIuVyH1fhN5KsF0xsSCbHGvHPHHou3WY)
Additional context
Found in #558
The text was updated successfully, but these errors were encountered: