forked from lix-project/lix
Rebecca Turner
99b8a26e23
- Use a recursive descent parser so that it's easy to extend.
- Add `@args` to enable customizing command-line arguments
- Add `@should-start` to enable `nix repl` tests that error before
entering the REPL
- Make sure to read all stdout output before comparing. This catches
some extra output we were tossing out before!
Change-Id: I5522555df4c313024ab15cd10f9f04e7293bda3a
27 lines
772 B
Plaintext
27 lines
772 B
Plaintext
@args --debugger
|
|
info: breakpoint reached
|
|
|
|
debugger should not crash now, but also not show any with variables
|
|
nix-repl> :st
|
|
0: error: breakpoint reached
|
|
«none»:0
|
|
Env level 0
|
|
static: x
|
|
|
|
Env level 1
|
|
static:
|
|
|
|
Env level 2
|
|
abort baseNameOf break builtins derivation derivationStrict dirOf false fetchGit fetchMercurial fetchTarball fetchTree fromTOML import isNull map null placeholder removeAttrs scopedImport throw toString true
|
|
error:
|
|
… while evaluating the file '$TEST_DATA/regression_l145.nix':
|
|
|
|
… while calling the 'break' builtin
|
|
at $TEST_DATA/regression_l145.nix:3:7:
|
|
2| let
|
|
3| x = builtins.break 1;
|
|
| ^
|
|
4| in
|
|
|
|
error: breakpoint reached
|