]> Nishi Git Mirror - gwion.git/commitdiff
:art: update template.c
authorfennecdjay <fennecdjay@gmail.com>
Wed, 7 Dec 2022 13:35:39 +0000 (14:35 +0100)
committerfennecdjay <fennecdjay@gmail.com>
Wed, 7 Dec 2022 13:35:39 +0000 (14:35 +0100)
src/parse/template.c

index 20b0daab5a1ed24e84470e6cedd9f20142336a81..cf4940af1cf1e9cf22774c33b6f82ae8834902a8 100644 (file)
@@ -113,7 +113,7 @@ static ANN Type scan_func(const Env env, const Type t, const Type_Decl *td) {
     set_vflag(value, vflag_member);
   value->d.func_ref  = func;
   value->from->owner = t->info->value->from->owner;
-  //  value->from->owner_class = t->info->owner_class;
+  value->from->owner_class = t->info->value->from->owner_class;
   func->value_ref = value;
   func->def->base->tmpl =
       mk_tmpl(env, t->info->func->def->base->tmpl, td->types);