]> Nishi Git Mirror - gwion.git/commitdiff
:art: Fix test 116/head
authorfennecdjay <astor.jeremie@wanadoo.fr>
Mon, 20 May 2019 22:25:48 +0000 (00:25 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Mon, 20 May 2019 22:25:48 +0000 (00:25 +0200)
src/parse/check.c
tests/error/vector_too_big.gw

index f6c07bd2d18ef60f43b2e93ac9533a81102cb35d..0c57604ef644ab97b441b5b919eac33fdd40da25 100644 (file)
@@ -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;
 }
index 0a30a0fc87921f1a09050979270a6d14539c92dc..639b0f916407273339f3f375a2e44a8fefd3a269 100644 (file)
@@ -1,2 +1,2 @@
-// [contains] extraneous component of vector value
+// [contains] extraneous component of
  @(0,0,0,0,0);