mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
don't seg if the method can't be found
This commit is contained in:
parent
61da478188
commit
d02b0686b1
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue