From 1616df7422ba74aa71934b59e343f2aeae688deb Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Tue, 10 Sep 2019 22:49:00 +0200 Subject: [PATCH] :bug: Fix str2tl --- src/lib/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.43.0