diff options
author | eldritch horrors <pennae@lix.systems> | 2024-03-18 21:09:39 +0100 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-03-18 14:15:22 -0700 |
commit | afb839a0c9888bc8b98c0dd4abd28c79d754c250 (patch) | |
tree | 524b05762d4820b338bde66b4fd5fa03b6bfc083 /src/libexpr/primops.cc | |
parent | b3599166ad98c3cad304183bd7cc7bc280522e71 (diff) |
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
Diffstat (limited to 'src/libexpr/primops.cc')
0 files changed, 0 insertions, 0 deletions