Have `-Warity-mismatch' handle applicable structs.
authorLudovic Courtès <ludo@gnu.org>
Sat, 12 May 2012 13:58:23 +0000 (15:58 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 12 May 2012 13:58:23 +0000 (15:58 +0200)
commit2c5f0bdb0e4d59c8a49925f75dd4793c19ebe08a
treeb86926990550bd4a52f245c7f8965634c636df8d
parent4c98474782d11ad02046c87af148e29d14afbc29
Have `-Warity-mismatch' handle applicable structs.

* module/language/tree-il/analyze.scm (arity-analysis): Honor applicable
  structs.

* test-suite/tests/tree-il.test ("warnings")["arity
  mismatch"]("top-level applicable struct", "top-level applicable struct
  with wrong arguments"): New tests.
module/language/tree-il/analyze.scm
test-suite/tests/tree-il.test