aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/repl_characterization/data/regression_l145.test
blob: bab347d263087bfce7bd2cdb3cea25df262d64f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@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