feat(xatu): check let binding order

This commit was merged in pull request #96.
This commit is contained in:
2026-09-26 20:06:14 -04:00
parent c4ea12b3ce
commit 27d9194ac3
7 changed files with 164 additions and 8 deletions

View File

@@ -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;