From: Jérémie Astor Date: Sat, 9 May 2020 19:22:40 +0000 (+0200) Subject: :bug: use type_list in import X-Git-Tag: nightly~1617 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=d0a0d7ec0a9f63fa8f7c28d65099a5ffc4de8bc7;p=gwion.git :bug: use type_list in import --- diff --git a/src/import/checker.c b/src/import/checker.c index 03a6c524..3a584d8d 100644 --- a/src/import/checker.c +++ b/src/import/checker.c @@ -252,6 +252,7 @@ ANN Type_Decl* _str2decl(const Gwi gwi, struct td_checker *tdc) { } Type_Decl *td = new_type_decl(gwi->gwion->mp, sym, loc(gwi)); td->next = next; + td->types = tl; if(ac.depth) td->array = mk_array(gwi->gwion->mp, &ac); return td;