-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libnixf,nixd: demote livenss warning severity to "hint" (#527)
<img width="258" alt="截屏2024-06-23 00 46 39" src="https://github.com/nix-community/nixd/assets/36667224/e90c48a1-172c-460a-856a-e4ff16f3933e"> After this patch nixd won't be very chatty if some variable is not used. I think this is a better approach in comparison to marking a "warning". Unused variables are generally not very harmful in Nix codes, and indeed developers may rely on it. Thus the severity of all liveness related warnings are demoted to "hint".
- Loading branch information
Showing
4 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters