From: Jérémie Astor Date: Fri, 15 Apr 2022 13:58:15 +0000 (+0200) Subject: :bug: Fix compilation and tests X-Git-Tag: nightly~307 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=bf28413f136a1ed47674b145b462bebb3186da9f;p=gwion.git :bug: Fix compilation and tests --- diff --git a/src/parse/check.c b/src/parse/check.c index 4db1f8d1..53987aee 100644 --- a/src/parse/check.c +++ b/src/parse/check.c @@ -667,7 +667,7 @@ ANN static Func get_template_func(const Env env, Exp_Call *const func, ((Exp_Call *)func)->tmpl = NULL; assert(exp_self(func)); ERR_O(exp_self(func)->pos, - _("function is a template for which automatic type inference is not fully implemented" + _("function is a template for which automatic type inference is not fully implemented")); } ANN static Func predefined_func(const Env env, const Value v, Exp_Call *exp, diff --git a/tests/error/invalid_array_acces.gw b/tests/error/invalid_array_acces.gw index bb466857..a705f09a 100644 --- a/tests/error/invalid_array_acces.gw +++ b/tests/error/invalid_array_acces.gw @@ -1,3 +1,3 @@ -#! [contains] invalid array acces expression +#! [contains] invalid array access expression var int j[]; j[1,2,3,4] => i; diff --git a/tests/error/template_not_able.gw b/tests/error/template_not_able.gw index 247b2faa..a5fadc29 100644 --- a/tests/error/template_not_able.gw +++ b/tests/error/template_not_able.gw @@ -1,3 +1,3 @@ -#! [contains] not able to guess types for template call +#! [contains] not able to infer types for template call fun void test:[A,B](A a) {} test(1);