]> Nishi Git Mirror - gwion.git/commitdiff
:art: Fix ffi
authorJérémie Astor <fennecdjay@gmail.com>
Thu, 21 Apr 2022 16:25:34 +0000 (18:25 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Thu, 21 Apr 2022 16:25:34 +0000 (18:25 +0200)
plug
src/parse/check.c

diff --git a/plug b/plug
index 524694345a2e9ed7b257bf6ff8a3d70940e5aa61..0834f0397b9e3823fe2c91a179fce237395659b6 160000 (submodule)
--- a/plug
+++ b/plug
@@ -1 +1 @@
-Subproject commit 524694345a2e9ed7b257bf6ff8a3d70940e5aa61
+Subproject commit 0834f0397b9e3823fe2c91a179fce237395659b6
index 46a713a67204446efa02bed2f1e75767f6b334aa..5d33111e25cc875eef6423047061710a18625a94 100644 (file)
@@ -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) {