From 048147048adc28c558b96a24cdda563a63758fb2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Tue, 12 May 2020 18:16:47 +0200 Subject: [PATCH] :art: Improve prepend_type_decl signature --- src/parse/check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse/check.c b/src/parse/check.c index d51081d3..e29b959f 100644 --- a/src/parse/check.c +++ b/src/parse/check.c @@ -373,7 +373,7 @@ static ANN Type check_exp_slice(const Env env, const Exp_Slice* range) { return op_check(env, &opi); } -ANN static Type_Decl* prepend_type_decl(MemPool mp, const Symbol xid, Type_Decl* td, const loc_t pos) { +ANN2(1,2,4) static Type_Decl* prepend_type_decl(MemPool mp, const Symbol xid, Type_Decl* td, const loc_t pos) { Type_Decl *a = new_type_decl(mp, xid, loc_cpy(mp, pos)); a->next = td; return a; -- 2.43.0