Closed maydayv7 closed 2 years ago
Just got to know that imports
is smart enough to handle removing all parameters in a module, so closing this issue
The suggestion by statix for modules should probably be { }:
and not _:
. I do think this is still a valid bug.
The suggestion by statix for modules should probably be
{ }:
and not_:
. I do think this is still a valid bug.
Actually even { }:
instead of { ... }:
produces an error
anonymous function called with unexpected argument
Understood, in that case not raising this issue on modules is the best idea.
Should be fixed on latest master, thanks for the report!
Original File:
Lint:
File after using
statix fix
:Error:
Using
statix 0.4.0
onNixOS 21.11
withNix 2.5