mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
fix: Update shifted source positions after formatting
Carefully reviewed...
This commit is contained in:
parent
96e550efc5
commit
b04077c0ec
44 changed files with 400 additions and 385 deletions
|
@ -2,36 +2,36 @@ error:
|
|||
… while calling the 'foldl'' builtin
|
||||
at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:2:1:
|
||||
1| # Tests that the result of applying op is forced even if the value is never used
|
||||
2| builtins.foldl'
|
||||
2| builtins.foldl' (_: f: f null) null [
|
||||
| ^
|
||||
3| (_: f: f null)
|
||||
3| (_: throw "Not the final value, but is still forced!")
|
||||
|
||||
… while calling anonymous lambda
|
||||
at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:3:7:
|
||||
2| builtins.foldl'
|
||||
3| (_: f: f null)
|
||||
| ^
|
||||
4| null
|
||||
at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:2:21:
|
||||
1| # Tests that the result of applying op is forced even if the value is never used
|
||||
2| builtins.foldl' (_: f: f null) null [
|
||||
| ^
|
||||
3| (_: throw "Not the final value, but is still forced!")
|
||||
|
||||
… from call site
|
||||
at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:3:10:
|
||||
2| builtins.foldl'
|
||||
3| (_: f: f null)
|
||||
| ^
|
||||
4| null
|
||||
at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:2:24:
|
||||
1| # Tests that the result of applying op is forced even if the value is never used
|
||||
2| builtins.foldl' (_: f: f null) null [
|
||||
| ^
|
||||
3| (_: throw "Not the final value, but is still forced!")
|
||||
|
||||
… while calling anonymous lambda
|
||||
at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:5:6:
|
||||
4| null
|
||||
5| [ (_: throw "Not the final value, but is still forced!") (_: 23) ]
|
||||
| ^
|
||||
6|
|
||||
at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:3:4:
|
||||
2| builtins.foldl' (_: f: f null) null [
|
||||
3| (_: throw "Not the final value, but is still forced!")
|
||||
| ^
|
||||
4| (_: 23)
|
||||
|
||||
… while calling the 'throw' builtin
|
||||
at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:5:9:
|
||||
4| null
|
||||
5| [ (_: throw "Not the final value, but is still forced!") (_: 23) ]
|
||||
| ^
|
||||
6|
|
||||
at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:3:7:
|
||||
2| builtins.foldl' (_: f: f null) null [
|
||||
3| (_: throw "Not the final value, but is still forced!")
|
||||
| ^
|
||||
4| (_: 23)
|
||||
|
||||
error: Not the final value, but is still forced!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue