From: Jérémie Astor Date: Mon, 21 Sep 2020 18:01:14 +0000 (+0200) Subject: :bug: Use flags for imported fptr X-Git-Tag: nightly~1275 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=5998f5458384f5c51b5586b21afbf73df11ba1ea;p=gwion.git :bug: Use flags for imported fptr --- diff --git a/src/import/import_fdef.c b/src/import/import_fdef.c index 4d25c4c5..383fc0a9 100644 --- a/src/import/import_fdef.c +++ b/src/import/import_fdef.c @@ -114,6 +114,7 @@ ANN static Fptr_Def import_fptr(const Gwi gwi) { ANN Type gwi_fptr_end(const Gwi gwi, const ae_flag flag) { CHECK_BO(ck_ok(gwi, ck_fdef)) DECL_OO(const Fptr_Def, fptr, = import_fptr(gwi)) + fptr->base->flag |= flag; // what happens if it is in a template class ? const m_bool ret = traverse_fptr_def(gwi->gwion->env, fptr); if(fptr->base->func) // is it needed ?