fix for (apply values '(1))
authorAndy Wingo <wingo@pobox.com>
Sat, 1 Nov 2008 17:37:48 +0000 (18:37 +0100)
committerAndy Wingo <wingo@pobox.com>
Sat, 1 Nov 2008 17:37:48 +0000 (18:37 +0100)
commit9b10d0bcfd363508b833e09f70ad5fb4e74059ad
tree4504970a348d622d5f74cd2737e34f09c025dc9e
parent42906d7406913a724aea52e4d8f087e6819ab4c6
fix for (apply values '(1))

* libguile/vm-i-system.c (return/values): In the
  multiple-values-to-a-single-value-continuation (or MV but where N=1),
  null out the correct number of values from the stack. Fixes aborts on
  (apply values '(1)).

* testsuite/t-values.scm (call-with-values): Add a test.
libguile/vm-i-system.c
testsuite/t-values.scm