if (is_decl) CHECK_BB(check_implicit(env, e, env->gwion->type[et_int]));
while (++depth && (e = e->next));
if (depth != array->depth)
- ERR_B(array->exp->pos, _("invalid array acces expression."))
+ ERR_B(array->exp->pos, _("invalid array access expression."))
return GW_OK;
}
((Exp_Call *)func)->tmpl = NULL;
assert(exp_self(func));
ERR_O(exp_self(func)->pos,
- _("function is template. automatic type guess not fully implemented "
- "yet.\n"
- " please provide template types. eg: ':[type1, type2, ...]'"))
+ _("function is a template for which automatic type inference is not fully implemented"
}
ANN static Func predefined_func(const Env env, const Value v, Exp_Call *exp,
}
}
if (args_number < type_number) // TODO: free type_list
- ERR_O(exp->func->pos, _("not able to guess types for template call."))
+ ERR_O(exp->func->pos, _("not able to infer types for template call."))
return tl;
}
ANN static m_bool multi_decl(const Env env, const Exp e, const Symbol op) {
if (e->exp_type == ae_exp_decl) {
if (e->d.exp_decl.list->len > 1)
- ERR_B(e->pos, _("cant '%s' from/to a multi-variable declaration."),
+ ERR_B(e->pos, _("can't '%s' from/to a multi-variable declaration."),
s_name(op))
// set_vflag(e->d.exp_decl.list->self->value, vflag_used);
}