Add support for multiple arities in `arity-mismatch-analysis'.
authorLudovic Courtès <ludo@gnu.org>
Sun, 8 Nov 2009 16:53:14 +0000 (17:53 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sun, 8 Nov 2009 16:53:14 +0000 (17:53 +0100)
commit99480e111815593c6828eb6081baece0f41d8233
tree1f0733be23da9597fe7574f3077b0d93ac6ac745
parent5e5351f8f83103da4ddd508f5b68f83d4342ec43
Add support for multiple arities in `arity-mismatch-analysis'.

* module/language/tree-il/analyze.scm (validate-arity)[arity]: Rename
  to...
  [arities]: ... this.  Return all the arities of PROC.
  Update caller accordingly.

* test-suite/tests/tree-il.test ("warnings")["arity
  mismatch"]("case-lambda", "case-lambda with wrong number of
  arguments", "case-lambda*", "case-lambda* with wrong arguments"): New
  tests.
module/language/tree-il/analyze.scm
test-suite/tests/tree-il.test