lix/src/libexpr
Silvan Mosberger 8dbd57a6a5
Fix auto argument passing for more auto arguments than formals
The change in 626200713b didn't account
for when the number of auto arguments is bigger than the number of
formal arguments. This causes the following:

  $ nix-instantiate --eval -E '{ ... }@args: args.foo' --argstr foo foo
  nix-instantiate: src/libexpr/attr-set.hh:55: void nix::Bindings::push_back(const nix::Attr&): Assertion `size_ < capacity_' failed.
  Aborted (core dumped)
2020-09-11 20:41:51 +02:00
..
flake Restore backwards-compat for current builtins.fetchGit 2020-07-28 22:46:39 +02:00
primops Move primop docs inline 2020-08-24 14:31:10 +02:00
attr-path.cc Merge branch 'master' into caveman-LOCs 2020-06-18 13:07:53 -06:00
attr-path.hh Some backports from the flakes branch 2020-06-18 14:03:00 +02:00
attr-set.cc EvalState::allocAttr(): Add convenience method 2020-03-24 13:26:37 +01:00
attr-set.hh use plain errPos instead of nixCode; fix tests 2020-06-23 15:30:13 -06:00
common-eval-args.cc Change option descriptions to Markdown 2020-08-19 14:21:27 +02:00
common-eval-args.hh Fix --override-flake and add a test 2020-01-22 20:00:58 +01:00
eval-cache.cc EvalCache: Fix caching of strings 2020-09-02 14:16:44 +02:00
eval-cache.hh nix build (and others): Force re-evaluation of cached errors 2020-08-07 14:47:23 +02:00
eval-inline.hh use plain errPos instead of nixCode; fix tests 2020-06-23 15:30:13 -06:00
eval.cc Fix auto argument passing for more auto arguments than formals 2020-09-11 20:41:51 +02:00
eval.hh Add getDoc() function 2020-08-25 13:31:11 +02:00
function-trace.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
function-trace.hh Hide FunctionCallTrace constructor/destructor 2020-01-05 16:21:34 +01:00
get-drvs.cc Only store hash of fixed derivation output 2020-07-08 19:11:39 -04:00
get-drvs.hh
imported-drv-to-derivation.nix Move some corepkgs into the nix binary 2020-03-11 16:57:48 +01:00
json-to-value.cc JSONSax: Use a RootValue 2020-04-16 17:30:18 +02:00
json-to-value.hh Fix extra ; warnings involving MakeError 2019-11-10 11:24:47 -05:00
lexer.l Remove trailing whitespace 2020-06-15 14:12:39 +02:00
local.mk Merge remote-tracking branch 'origin/master' into flakes 2020-06-17 10:26:52 +02:00
nix-expr.pc.in
nixexpr.cc comments and cleanup 2020-06-30 16:31:55 -06:00
nixexpr.hh use plain errPos instead of nixCode; fix tests 2020-06-23 15:30:13 -06:00
parser.y Merge remote-tracking branch 'origin/master' into flakes 2020-07-06 16:40:10 +02:00
primops.cc Merge remote-tracking branch 'origin/master' into markdown 2020-08-31 14:24:26 +02:00
primops.hh Allow primops to have Markdown documentation 2020-08-24 13:16:02 +02:00
symbol-table.hh nix flake show: Use evaluation cache 2020-04-17 01:02:29 +02:00
value-to-json.cc remove 'format' from Error constructor calls 2020-04-21 17:07:07 -06:00
value-to-json.hh
value-to-xml.cc OCD performance fix: {find,count}+insert => insert 2019-10-09 16:06:29 +02:00
value-to-xml.hh
value.hh EvalCache: Store string contexts 2020-06-29 19:08:37 +02:00