From: Jérémie Astor Date: Fri, 6 Dec 2019 19:59:18 +0000 (+0100) Subject: :art: Improve tuple X-Git-Tag: nightly~2068^2~10 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=cb5cddb39973341cce9267242c8ee5294a64b3c9;p=gwion.git :art: Improve tuple --- diff --git a/src/lib/tuple.c b/src/lib/tuple.c index 9edc94bb..a92d0a0e 100644 --- a/src/lib/tuple.c +++ b/src/lib/tuple.c @@ -277,7 +277,7 @@ ANN Type tuple_type(const Env env, const Vector v, const loc_t pos) { Stmt_List base = NULL, curr = NULL; Type_List tlbase = NULL, tl = NULL; for(m_uint i = 0; i < vector_size(v); ++i) { - char name[num_digit(i) + 2]; + char name[num_digit(i) + 16]; sprintf(name, "@tuple member %lu", i); const Symbol sym = insert_symbol(name); const Type t = (Type)vector_at(v, i);