s->type = resolve_class(filename, "type", trait->method->return_type);
dict_put(names, name, 0);
} else if(trait->kind == TRAIT_CONST) {
/* some variables (e.g. XML.length) are apparently both a method and a slot.
needs split of static/non-static first */
if(!dict_contains(names, name)) {
s->type = resolve_class(filename, "type", trait->method->return_type);
dict_put(names, name, 0);
} else if(trait->kind == TRAIT_CONST) {
/* some variables (e.g. XML.length) are apparently both a method and a slot.
needs split of static/non-static first */
if(!dict_contains(names, name)) {