}
ANN static m_bool emit_type_def(const Emitter emit, const Type_Def tdef) {
- if(SAFE_FLAG(tdef->type->e->def, emit))
- return GW_OK;
- return tdef->type->e->def ? emit_class_def(emit, tdef->type->e->def) : 1;
+ return tdef->type->e->def ? emit_class_def(emit, tdef->type->e->def) : GW_OK;
}
ANN static m_bool emit_enum_def(const Emitter emit, const Enum_Def edef) {
#include "cpy_ast.h"
#include "tuple.h"
-ANN static inline Type owner_type(const Env env, const Type t) {
- const Nspc nspc = t->nspc ? t->nspc->parent : NULL;
- return (nspc && nspc->parent) ? nspc_lookup_type1(nspc->parent, insert_symbol(nspc->name)) : NULL;
-}
-
struct tmpl_info {
const Class_Def cdef;
Type_List call;