From: fennecdjay Date: Tue, 10 Sep 2019 20:49:00 +0000 (+0200) Subject: :bug: Fix str2tl X-Git-Tag: nightly~2221 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=1616df7422ba74aa71934b59e343f2aeae688deb;p=gwion.git :bug: Fix str2tl --- diff --git a/src/lib/import.c b/src/lib/import.c index 4661729b..3170b796 100644 --- a/src/lib/import.c +++ b/src/lib/import.c @@ -355,7 +355,7 @@ static Array_Sub make_dll_arg_list_array(MemPool p, Array_Sub array_sub, } ANN /*static */ Type_List str2tl(const Env env, const m_str s, m_uint *depth) { - Type_Decl* td = str2decl(env, s, depth); + DECL_OO(Type_Decl*, td, = str2decl(env, s, depth)) td->array = make_dll_arg_list_array(env->gwion->mp, NULL, depth, 0); return new_type_list(env->gwion->mp, td, NULL); }