aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-fail-duplicate-traces.err.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/eval-fail-duplicate-traces.err.exp')
-rw-r--r--test/testdata/eval-fail-duplicate-traces.err.exp51
1 files changed, 51 insertions, 0 deletions
diff --git a/test/testdata/eval-fail-duplicate-traces.err.exp b/test/testdata/eval-fail-duplicate-traces.err.exp
new file mode 100644
index 0000000..cedaebd
--- /dev/null
+++ b/test/testdata/eval-fail-duplicate-traces.err.exp
@@ -0,0 +1,51 @@
1error:
2 … from call site
3 at /pwd/lang/eval-fail-duplicate-traces.nix:9:3:
4 8| in
5 9| throwAfter 2
6 | ^
7 10|
8
9 … while calling 'throwAfter'
10 at /pwd/lang/eval-fail-duplicate-traces.nix:4:16:
11 3| let
12 4| throwAfter = n:
13 | ^
14 5| if n > 0
15
16 … from call site
17 at /pwd/lang/eval-fail-duplicate-traces.nix:6:10:
18 5| if n > 0
19 6| then throwAfter (n - 1)
20 | ^
21 7| else throw "Uh oh!";
22
23 … while calling 'throwAfter'
24 at /pwd/lang/eval-fail-duplicate-traces.nix:4:16:
25 3| let
26 4| throwAfter = n:
27 | ^
28 5| if n > 0
29
30 … from call site
31 at /pwd/lang/eval-fail-duplicate-traces.nix:6:10:
32 5| if n > 0
33 6| then throwAfter (n - 1)
34 | ^
35 7| else throw "Uh oh!";
36
37 … while calling 'throwAfter'
38 at /pwd/lang/eval-fail-duplicate-traces.nix:4:16:
39 3| let
40 4| throwAfter = n:
41 | ^
42 5| if n > 0
43
44 … while calling the 'throw' builtin
45 at /pwd/lang/eval-fail-duplicate-traces.nix:7:10:
46 6| then throwAfter (n - 1)
47 7| else throw "Uh oh!";
48 | ^
49 8| in
50
51 error: Uh oh!