]> Nishi Git Mirror - gwion.git/commitdiff
:bug: use type_list in import
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Sat, 9 May 2020 19:22:40 +0000 (21:22 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Sat, 9 May 2020 19:22:46 +0000 (21:22 +0200)
src/import/checker.c

index 03a6c524ea656be37870ff2e021ffd85a9413091..3a584d8d6e8bc48ce530dab2f0d1434db5fd0920 100644 (file)
@@ -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;