diff options
author | eldritch horrors <pennae@lix.systems> | 2024-03-18 20:03:31 +0100 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-03-18 20:03:31 +0100 |
commit | b3599166ad98c3cad304183bd7cc7bc280522e71 (patch) | |
tree | 2b677f261d77a430358f95f630080f62ced37db4 /tests/functional/repl_characterization/data/stack_vars.test | |
parent | 47a237f7ec594c409a7abbbfe0ff0170a9970183 (diff) |
libexpr: sort binding name in debugger
not doing this exposes the binding name order to the annoying
interference of parse order on symbol order, which wouldn't be so bad if
it didn't make the tests less reliable and, importantly, dependent on
linker behavior (due to primop initialization being done in static
initializer, and the order of static initializers being defined only
within a single translation unit).
fixes #143
Change-Id: I3cf417893fbcf19e9ad3ff8986deb7cbcf3ca511
Diffstat (limited to 'tests/functional/repl_characterization/data/stack_vars.test')
-rw-r--r-- | tests/functional/repl_characterization/data/stack_vars.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/functional/repl_characterization/data/stack_vars.test b/tests/functional/repl_characterization/data/stack_vars.test index 0537f9c03..96ea5fe25 100644 --- a/tests/functional/repl_characterization/data/stack_vars.test +++ b/tests/functional/repl_characterization/data/stack_vars.test @@ -14,7 +14,7 @@ as it is in scope. static: a b Env level 2 - builtins true false null scopedImport import isNull break abort throw derivationStrict placeholder baseNameOf dirOf removeAttrs map toString fetchMercurial fetchTree fetchTarball fetchGit fromTOML derivation + abort baseNameOf break builtins derivation derivationStrict dirOf false fetchGit fetchMercurial fetchTarball fetchTree fromTOML import isNull map null placeholder removeAttrs scopedImport throw toString true nix-repl> meow 2 @@ -35,7 +35,7 @@ If we :st past the frame in the backtrace with the meow in it, the meow should n static: a b Env level 1 - builtins true false null scopedImport import isNull break abort throw derivationStrict placeholder baseNameOf dirOf removeAttrs map toString fetchMercurial fetchTree fetchTarball fetchGit fromTOML derivation + abort baseNameOf break builtins derivation derivationStrict dirOf false fetchGit fetchMercurial fetchTarball fetchTree fromTOML import isNull map null placeholder removeAttrs scopedImport throw toString true nix-repl> :c trace: before inner break @@ -52,7 +52,7 @@ If we :st past the frame in the backtrace with the meow in it, the meow should n static: a b Env level 2 - builtins true false null scopedImport import isNull break abort throw derivationStrict placeholder baseNameOf dirOf removeAttrs map toString fetchMercurial fetchTree fetchTarball fetchGit fromTOML derivation + abort baseNameOf break builtins derivation derivationStrict dirOf false fetchGit fetchMercurial fetchTarball fetchTree fromTOML import isNull map null placeholder removeAttrs scopedImport throw toString true nix-repl> meow' 3 @@ -71,4 +71,4 @@ If we :st past the frame in the backtrace with the meow in it, the meow should n static: a b Env level 1 - builtins true false null scopedImport import isNull break abort throw derivationStrict placeholder baseNameOf dirOf removeAttrs map toString fetchMercurial fetchTree fetchTarball fetchGit fromTOML derivation + abort baseNameOf break builtins derivation derivationStrict dirOf false fetchGit fetchMercurial fetchTarball fetchTree fromTOML import isNull map null placeholder removeAttrs scopedImport throw toString true |