don't seg if the method can't be found

This commit is contained in:
Bill Currie 2004-02-04 06:31:12 +00:00
parent 61da478188
commit d02b0686b1

View file

@ -2592,8 +2592,10 @@ message_expr (expr_t *receiver, keywordarg_t *message)
expr_t *err;
if ((err = method_check_params (method, args)))
return err;
call = build_function_call (send_message (super), method->type, args);
} else {
call = build_function_call (send_message (super), &type_IMP, args);
}
call = build_function_call (send_message (super), method->type, args);
if (call->type == ex_error)
return receiver;