1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 04:40:29 +02:00
guile/module
Ludovic Courtès af5ed54927 Add support for keyword arguments in `arity-mismatch-analysis'.
* module/language/tree-il/analyze.scm
  (validate-arity)[filter-keyword-args]: New procedure.
  [arity]: Get accurate arity for programs, return ALLOW-OTHER-KEYS? as
  an additional value.
  Update to `arity' change; use `filter-keyword-args'.

* test-suite/tests/tree-il.test ("warnings")["arity mismatch"]("keyword
  not passed and quiet", "keyword passed and quiet", "keyword passed to
  global and quiet", "extra keyword", "extra keywords allowed"): New
  tests.
2009-11-08 01:02:08 +01:00
..
ice-9 Fix typos leading to wrong argument counts. 2009-11-07 19:24:49 +01:00
language Add support for keyword arguments in `arity-mismatch-analysis'. 2009-11-08 01:02:08 +01:00
oop Fix typos leading to wrong argument counts. 2009-11-07 19:24:49 +01:00
rnrs Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00
scripts Remove unused variables in ice-9/goops/srfi/scripts. 2009-09-21 00:24:08 +02:00
srfi Fix typos leading to wrong argument counts. 2009-11-07 19:24:49 +01:00
system Add `arity-mismatch' warning type. 2009-11-07 18:48:56 +01:00
Makefile.am remove GHIL, Elisp, and R5RS languages 2009-10-16 12:20:06 +02:00