1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-12 14:50:19 +02:00
guile/module/language
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
..
assembly Fix incorrect display of wide strings in decompilation 2009-10-28 06:27:47 -07:00
brainfuck separate "inits" field in <lambda-case>; compile fixes for inits, kwargs 2009-10-23 16:48:05 +02:00
bytecode language-readers receive environment as an arg 2009-10-16 13:39:24 +02:00
ecmascript separate "inits" field in <lambda-case>; compile fixes for inits, kwargs 2009-10-23 16:48:05 +02:00
glil arities can have noncontiguous starts and ends 2009-10-25 13:12:27 +01:00
objcode compilation enviroments are always modules; simplifications & refactorings 2009-10-16 15:33:32 +02:00
scheme compilation enviroments are always modules; simplifications & refactorings 2009-10-16 15:33:32 +02:00
tree-il Add support for keyword arguments in `arity-mismatch-analysis'. 2009-11-08 01:02:08 +01:00
value Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
assembly.scm de-nargs struct scm_objcode; procedure-property refactor 2009-10-23 14:51:19 +02:00
glil.scm more work towards compiling and interpreting keyword args 2009-10-23 15:20:22 +02:00
objcode.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
tree-il.scm separate "inits" field in <lambda-case>; compile fixes for inits, kwargs 2009-10-23 16:48:05 +02:00