lix/tests/functional/repl_characterization/data/regression_l145.nix
eldritch horrors b93fdc3522 libexpr: associate let exprs with the correct StaticEnv
static env association is from expr to its enclosing scope, but let
exprs set their association to their *inner* scope. this skips one level
of envs and will cause segfaults if the parent is a with expr.

fixes #145

Change-Id: I1d22146110f071ede21b4eed7ed34b5850ef2ef3
2024-03-18 14:15:22 -07:00

6 lines
67 B
Nix

with { inherit ({}) invalid; };
let
x = builtins.break 1;
in
x