From 06c9f1a526507180b4f3a3fa527aeae0755fafa5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Thu, 21 Apr 2022 18:25:34 +0200 Subject: [PATCH] :art: Fix ffi --- plug | 2 +- src/parse/check.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.43.0