All changes are uniform and done with the same script, so checking only some should suffice. For that reason, any tests involving multiple files or custom CLI flags are not included in this commit. Change-Id: Ib2d0e08937b56e241d99771a58aad34ed3ad308a
52 lines
1.3 KiB
Plaintext
52 lines
1.3 KiB
Plaintext
error:
|
|
… from call site
|
|
at /pwd/in.nix:9:3:
|
|
8| in
|
|
9| throwAfter 2
|
|
| ^
|
|
10|
|
|
|
|
… while calling 'throwAfter'
|
|
at /pwd/in.nix:4:16:
|
|
3| let
|
|
4| throwAfter = n:
|
|
| ^
|
|
5| if n > 0
|
|
|
|
… from call site
|
|
at /pwd/in.nix:6:10:
|
|
5| if n > 0
|
|
6| then throwAfter (n - 1)
|
|
| ^
|
|
7| else throw "Uh oh!";
|
|
|
|
… while calling 'throwAfter'
|
|
at /pwd/in.nix:4:16:
|
|
3| let
|
|
4| throwAfter = n:
|
|
| ^
|
|
5| if n > 0
|
|
|
|
… from call site
|
|
at /pwd/in.nix:6:10:
|
|
5| if n > 0
|
|
6| then throwAfter (n - 1)
|
|
| ^
|
|
7| else throw "Uh oh!";
|
|
|
|
… while calling 'throwAfter'
|
|
at /pwd/in.nix:4:16:
|
|
3| let
|
|
4| throwAfter = n:
|
|
| ^
|
|
5| if n > 0
|
|
|
|
… caused by explicit throw
|
|
at /pwd/in.nix:7:10:
|
|
6| then throwAfter (n - 1)
|
|
7| else throw "Uh oh!";
|
|
| ^
|
|
8| in
|
|
|
|
error: Uh oh!
|