feat(xatu): check let binding order
This commit was merged in pull request #96.
This commit is contained in:
18
src/xatu/testdata/clean.nix
vendored
18
src/xatu/testdata/clean.nix
vendored
@@ -1,6 +1,22 @@
|
||||
{ pkgs }:
|
||||
|
||||
{
|
||||
let
|
||||
first = 1;
|
||||
second = first;
|
||||
in {
|
||||
firstField = first;
|
||||
secondField = second;
|
||||
nested = let
|
||||
innerSecond = innerFirst;
|
||||
innerFirst = first;
|
||||
in {
|
||||
result = innerSecond;
|
||||
};
|
||||
parameter = first: let
|
||||
usesParameter = first;
|
||||
in {
|
||||
result = usesParameter;
|
||||
};
|
||||
path = ./. + "/foo";
|
||||
url = "https://example.com";
|
||||
inherit pkgs;
|
||||
|
||||
Reference in New Issue
Block a user