typecheck message params when possible

This commit is contained in:
Bill Currie 2003-08-22 04:08:33 +00:00
parent 8e0a464ad7
commit febc57e71b

View file

@ -2597,6 +2597,21 @@ message_expr (expr_t *receiver, keywordarg_t *message)
*a = selector;
a = &(*a)->next;
*a = receiver;
if (method) {
def_t def;
expr_t e, *err;
def.type = method->type;
def.name = method->name;
e.type = ex_def;
e.e.def = &def;
e.line = receiver->line;
e.file = receiver->file;
err = function_expr (&e, args);
if (err->type == ex_error)
return err;
}
call = function_expr (send_message (super), args);
if (call->type == ex_error)