From bf28413f136a1ed47674b145b462bebb3186da9f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Fri, 15 Apr 2022 15:58:15 +0200 Subject: [PATCH] :bug: Fix compilation and tests --- src/parse/check.c | 2 +- tests/error/invalid_array_acces.gw | 2 +- tests/error/template_not_able.gw | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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); -- 2.43.0