mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 01:41:10 +00:00
Set a builtin methods func pointer.
Forgetting to set the func pointer is what caused the bogus "does not respond to" message for -error:.
This commit is contained in:
parent
aa14271764
commit
d6ec944e5f
1 changed files with 1 additions and 0 deletions
|
@ -1635,6 +1635,7 @@ methoddef
|
|||
method = class_find_method (current_class, method);
|
||||
sym = method_symbol (current_class, method);
|
||||
build_builtin_function (sym, $5, 1);
|
||||
method->func = sym->s.func;
|
||||
method->def = sym->s.func->def;
|
||||
}
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue