Copy the method's params into the method symbol.

This commit is contained in:
Bill Currie 2011-02-06 15:14:42 +09:00
parent 00bba1eb3a
commit e27f3fd7c3

View file

@ -176,6 +176,7 @@ method_symbol (class_type_t *class_type, method_t *method)
// str->size); // str->size);
sym = new_symbol_type (str->str, method->type); sym = new_symbol_type (str->str, method->type);
sym = function_symbol (sym, 0, 1);//FIXME put in far data and make static sym = function_symbol (sym, 0, 1);//FIXME put in far data and make static
sym->params = method->params;
dstring_delete (str); dstring_delete (str);
return sym; return sym;
} }