1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00
guile/module
Andy Wingo 89ececea95 Better errors for odd-length keyword args
* libguile/vm-i-system.c (bind-kwargs):
* libguile/vm.c (vm_error_kwargs_missing_value):
* libguile/eval.c (error_missing_value)
  (prepare_boot_closure_env_for_apply): Adapt to mirror VM behavior.
* libguile/keywords.c (scm_c_bind_keyword_arguments): Likewise.
* module/ice-9/eval.scm (primitive-eval): Update to error on (foo #:kw)
  with a "Keyword argument has no value" instead of the horrible "odd
  argument list length".  Also adapts to the expected args format for
  the keyword-argument-error exception printer in all cases.  Matches
  1.8 optargs behavior also.
* test-suite/standalone/test-scm-c-bind-keyword-arguments.c (test_missing_value):
  (missing_value_error_handler): Update test.
* test-suite/tests/optargs.test: Add tests.
2017-02-28 21:01:33 +01:00
..
ice-9 Better errors for odd-length keyword args 2017-02-28 21:01:33 +01:00
language psyntax: Generate identifiers in a deterministic fashion. 2016-12-30 21:58:44 +01:00
oop Accessor methods only apply to subclasses with their slot 2015-01-26 17:57:44 +01:00
rnrs Fix (rnrs io simple) to open file ports in textual mode. 2014-03-19 23:36:46 -04:00
scripts guild disassemble: Use #:prefix instead of #:renamer. 2014-09-20 05:47:05 -04:00
srfi Don't recurse in drop-right 2016-07-12 15:53:40 +02:00
sxml Remove duplicate definitions of call/ec' and let/ec'. 2013-04-06 15:40:19 +02:00
system Recognize sh3 as compilation targets 2017-02-12 22:07:45 +01:00
texinfo texinfo: Remove unnecessary (oop goops) dependency. 2016-08-04 19:15:09 +02:00
web http: Do not use 'eq?' to compare characters in parse-request-uri. 2016-09-09 07:32:53 -04:00
Makefile.am Add meta/build-env 2016-07-10 13:21:38 +02:00
rnrs.scm Add missing R6RS `open-file-input/output-port' procedure 2012-11-12 20:47:57 +01:00
statprof.scm statprof: 'statprof' and 'with-statprof' return the code's return values. 2015-01-11 20:44:44 +01:00
texinfo.scm Fix newline preservation in @example with lines beginning with @ 2014-03-17 21:49:16 +01:00