From 5998f5458384f5c51b5586b21afbf73df11ba1ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 21 Sep 2020 20:01:14 +0200 Subject: [PATCH] :bug: Use flags for imported fptr --- src/import/import_fdef.c | 1 + 1 file changed, 1 insertion(+) 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 ? -- 2.43.0