From: Jérémie Astor Date: Thu, 21 Apr 2022 16:25:34 +0000 (+0200) Subject: :art: Fix ffi X-Git-Tag: nightly~281^2~6 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=06c9f1a526507180b4f3a3fa527aeae0755fafa5;p=gwion.git :art: Fix ffi --- diff --git a/plug b/plug index 52469434..0834f039 160000 --- a/plug +++ b/plug @@ -1 +1 @@ -Subproject commit 524694345a2e9ed7b257bf6ff8a3d70940e5aa61 +Subproject commit 0834f0397b9e3823fe2c91a179fce237395659b6 diff --git a/src/parse/check.c b/src/parse/check.c index 46a713a6..5d33111e 100644 --- a/src/parse/check.c +++ b/src/parse/check.c @@ -762,7 +762,7 @@ ANN m_bool func_check(const Env env, Exp_Call *const exp) { CHECK_OB(check_exp(env, exp->func)); if (exp->func->exp_type == ae_exp_decl) ERR_B(exp->func->pos, _("Can't call late function pointer at declaration " - "site. did you meant to use `=>`?")) + "site. did you meant to use `@=>`?")) const Type t = actual_type(env->gwion, exp->func->type); if (is_func(env->gwion, t) && exp->func->exp_type == ae_exp_dot && !t->info->value->from->owner_class) {