during the value rewrite we accidentally broke extension of incomplete primop application. this only shows up when binding on incomplete call to a primop to a name, binding an incomplete call to *that* to another name, and then finally calling the second binding with enough args for a complete primop application. since this only shows up when calling a primop with three or more args it took a while to surface. we have few builtins that match this: foldl', replaceStrings, and substring. these are not used incompletely in this manner very often, so this lingered. fixes #1102 Change-Id: I218dffc14ae876efc86a86c7eb6c895e2405201c
11 lines
276 B
Plaintext
11 lines
276 B
Plaintext
error:
|
|
… while calling the 'length' builtin
|
|
at /pwd/in.nix:1:1:
|
|
1| builtins.length 1
|
|
| ^
|
|
2|
|
|
|
|
… while evaluating the first argument passed to builtins.length
|
|
|
|
error: expected a list but found an integer: 1
|