From 34b11b1bf0f51ffc19321a36e534dc73348045d2 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Tue, 31 Jan 2023 00:44:58 +0100 Subject: [PATCH] :art: no new line for include --- fmt | 2 +- src/parse/check_traits.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fmt b/fmt index e8033229..16957e8f 160000 --- a/fmt +++ b/fmt @@ -1 +1 @@ -Subproject commit e8033229e01b1e08b4e293ff80655e4557753a74 +Subproject commit 16957e8f5cf9ab8bea486b95fa372b8e111cbcf3 diff --git a/src/parse/check_traits.c b/src/parse/check_traits.c index 8b8c52f5..e06d08ba 100644 --- a/src/parse/check_traits.c +++ b/src/parse/check_traits.c @@ -148,7 +148,7 @@ ANN static bool request_fun(const Env env, const Type t, if(!env->context->error) { gwerr_basic_from("is missing {+G}global{0}", NULL, NULL, v->from, 0); gwerr_secondary("from requested func", env->name, request->base->pos); - env->context->error = true; + env_set_error(env, true); } } else gwerr_basic("missing requested function", NULL, NULL, env->name, request->base->pos, 0); -- 2.43.0