Nix: Feature: issue a warning when something in let expression is not used

Created on 18 Nov 2016  路  1Comment  路  Source: NixOS/nix

Issue a warning when something in let expression is not used.

e. g. :

let foo = 1; bar = 2;
in func bar
...
foo.nix:123: `foo` defined, but not used
...

Most helpful comment

This can probably be expanded to function arguments as well.

>All comments

This can probably be expanded to function arguments as well.

Was this page helpful?
0 / 5 - 0 ratings