From 20274122f88f52420627c4ea8616bddae5df6063 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Sun, 1 Sep 2019 09:44:41 +0200 Subject: [PATCH] :art: error 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 bc5278b6..c32a0ea4 100644 --- a/src/parse/scan1.c +++ b/src/parse/scan1.c @@ -32,7 +32,7 @@ ANN static m_bool type_recursive(const Env env, const Type_Decl *td, const Type for(m_uint i = 0; i < vector_size(&t->e->contains); ++i) { if(env->class_def == (Type)vector_at(&t->e->contains, i) && !GET_FLAG(td, ref)) ERR_B(td_pos(td), _("%s declared inside %s\n. (make it a ref ?)"), - t, t == env->class_def ? "itself" : env->class_def->name); + t->name, t == env->class_def ? "itself" : env->class_def->name); } } } -- 2.43.0