|
@@ -1315,20 +1315,20 @@ void check_proc_group_decl(CheckerContext *ctx, Entity *&pg_entity, DeclInfo *d)
|
|
|
|
|
|
if (!both_have_where_clauses) switch (kind) {
|
|
|
case ProcOverload_Identical:
|
|
|
- error(p->token, "Overloaded procedure '%.*s' as the same type as another procedure in the procedure group '%.*s'", LIT(name), LIT(proc_group_name));
|
|
|
+ error(p->token, "Overloaded procedure '%.*s' has the same type as another procedure in the procedure group '%.*s'", LIT(name), LIT(proc_group_name));
|
|
|
is_invalid = true;
|
|
|
break;
|
|
|
// case ProcOverload_CallingConvention:
|
|
|
- // error(p->token, "Overloaded procedure '%.*s' as the same type as another procedure in the procedure group '%.*s'", LIT(name), LIT(proc_group_name));
|
|
|
+ // error(p->token, "Overloaded procedure '%.*s' has the same type as another procedure in the procedure group '%.*s'", LIT(name), LIT(proc_group_name));
|
|
|
// is_invalid = true;
|
|
|
// break;
|
|
|
case ProcOverload_ParamVariadic:
|
|
|
- error(p->token, "Overloaded procedure '%.*s' as the same type as another procedure in the procedure group '%.*s'", LIT(name), LIT(proc_group_name));
|
|
|
+ error(p->token, "Overloaded procedure '%.*s' has the same type as another procedure in the procedure group '%.*s'", LIT(name), LIT(proc_group_name));
|
|
|
is_invalid = true;
|
|
|
break;
|
|
|
case ProcOverload_ResultCount:
|
|
|
case ProcOverload_ResultTypes:
|
|
|
- error(p->token, "Overloaded procedure '%.*s' as the same parameters but different results in the procedure group '%.*s'", LIT(name), LIT(proc_group_name));
|
|
|
+ error(p->token, "Overloaded procedure '%.*s' has the same parameters but different results in the procedure group '%.*s'", LIT(name), LIT(proc_group_name));
|
|
|
is_invalid = true;
|
|
|
break;
|
|
|
case ProcOverload_Polymorphic:
|