From 155c06f374b13cb84d5feb9c06bf327d4d3cfb21 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sat, 9 May 2020 21:25:08 +0200 Subject: [PATCH] :art: Improve cyclic decl message --- src/parse/scan1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse/scan1.c b/src/parse/scan1.c index c3325ba2..3a6d978f 100644 --- a/src/parse/scan1.c +++ b/src/parse/scan1.c @@ -13,7 +13,7 @@ ANN static inline m_bool type_cyclic(const Env env, const Type t, const Type_Dec Type parent = t->e->parent; while(parent) { if(parent == env->class_def) - ERR_B(td_pos(td), _("%s declared inside %s\n. (make it a ref ?)"), t->name, t == env->class_def ? "itself" : env->class_def->name); + ERR_B(td_pos(td), _("%s declared inside %s\n."), t->name, t == env->class_def ? "itself" : env->class_def->name); parent = parent->e->parent; } return GW_OK; -- 2.43.0