diff options
author | Andy Wingo <wingo@pobox.com> | 2012-05-21 18:06:34 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2012-05-21 18:06:34 +0200 |
commit | 15bb587f45b718f08756993fec9274212cc7df58 (patch) | |
tree | 82ab2fe92b73629c332ce8e324086996a4448f7f /libguile/macros.c | |
parent | 6ccc66789695b5a09ce9b16c8c121f521df296e6 (diff) | |
download | guile-15bb587f45b718f08756993fec9274212cc7df58.tar.gz |
fix arity check for applicable structs
* module/language/tree-il/analyze.scm (validate-arity): Fix for
applicable structs. Applicable structs are procedures, but not every
struct has a first slot, and not every struct with a procedure in its
first slot is applicable. Besides, the approach in this patch gives
better errors.
Diffstat (limited to 'libguile/macros.c')
0 files changed, 0 insertions, 0 deletions