From: fennecdjay Date: Mon, 20 May 2019 22:25:48 +0000 (+0200) Subject: :art: Fix test X-Git-Tag: nightly~2453^2 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=74e1a2a34a7197b545725e8215639930ca107ec8;p=gwion.git :art: Fix test --- diff --git a/src/parse/check.c b/src/parse/check.c index f6c07bd2..0c57604e 100644 --- a/src/parse/check.c +++ b/src/parse/check.c @@ -257,7 +257,7 @@ ANN static Type prim_vec(const Env env, const Exp_Primary* primary) { struct VecInfo info = { .n=vec->dim }; vec_info(t, &info); if(vec->dim > info.n) - ERR_O(vec->exp->pos, "extraneous component of %s value...", info.t->name) + ERR_O(vec->exp->pos, "extraneous component of %s value...", info.s) CHECK_BO(vec_value(env, vec->exp, info.s)) return info.t; } diff --git a/tests/error/vector_too_big.gw b/tests/error/vector_too_big.gw index 0a30a0fc..639b0f91 100644 --- a/tests/error/vector_too_big.gw +++ b/tests/error/vector_too_big.gw @@ -1,2 +1,2 @@ -// [contains] extraneous component of vector value +// [contains] extraneous component of @(0,0,0,0,0);