return a->base.type;
struct EnvSet es = { .env=env, .data=env, .func=(_exp_func)scan0_cdef,
.scope=env->scope->depth, .flag=ae_flag_scan0 };
- CHECK_BO(envset_push(&es, t->e->owner_class, env->context ? env->context->nspc : env->curr))
+// CHECK_BO(envset_push(&es, t->e->owner_class, env->context ? env->context->nspc : env->curr))
+ CHECK_BO(envset_push(&es, t->e->owner_class, t->e->ctx ? t->e->ctx->nspc : env->curr))
a->base.tmpl = mk_tmpl(env, t->e->def->base.tmpl, td->types);
const m_bool ret = _scan_class(env, t, a);
if(es.run)
GWI_BB(gwi_func_end(gwi, vm_shred_id, ae_flag_none))
gwi_func_ini(gwi, "Shred", "fromId");
- gwi_func_arg(gwi, "int", "id");
+ gwi_func_arg(gwi, "int", "xid");
GWI_BB(gwi_func_end(gwi, vm_shred_from_id, ae_flag_static))
gwi_func_ini(gwi, "void", "yield");
gwi_func_ini(gwi, "int", "charAt");
gwi_func_arg(gwi, "int", "pos");
- gwi_func_arg(gwi, "int", "char");
+ gwi_func_arg(gwi, "char", "c");
GWI_BB(gwi_func_end(gwi, string_setCharAt, ae_flag_none))
gwi_func_ini(gwi, "string", "insert");
GWI_BB(gwi_func_end(gwi, string_replaceN, ae_flag_none))
gwi_func_ini(gwi, "int", "find");
- gwi_func_arg(gwi, "int", "char");
+ gwi_func_arg(gwi, "char", "c");
GWI_BB(gwi_func_end(gwi, string_find, ae_flag_none))
gwi_func_ini(gwi, "int", "find");
gwi_func_arg(gwi, "int", "pos");
- gwi_func_arg(gwi, "int", "char");
+ gwi_func_arg(gwi, "char", "c");
GWI_BB(gwi_func_end(gwi, string_findStart, ae_flag_none))
gwi_func_ini(gwi, "int", "find");
GWI_BB(gwi_func_end(gwi, string_findStrStart, ae_flag_none))
gwi_func_ini(gwi, "int", "rfind");
- gwi_func_arg(gwi, "int", "char");
+ gwi_func_arg(gwi, "char", "c");
GWI_BB(gwi_func_end(gwi, string_rfind, ae_flag_none))
gwi_func_ini(gwi, "int", "rfind");
gwi_func_arg(gwi, "int", "pos");
- gwi_func_arg(gwi, "int", "char");
+ gwi_func_arg(gwi, "char", "c");
GWI_BB(gwi_func_end(gwi, string_rfindStart, ae_flag_none))
gwi_func_ini(gwi, "int", "rfind");