mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-29 10:50:05 +00:00
print proc types in same order as procs
This commit is contained in:
+3
-3
@@ -6220,7 +6220,7 @@ gb_internal void check_deferred_procedures(Checker *c) {
|
|||||||
gbString d = type_to_string(dst_params);
|
gbString d = type_to_string(dst_params);
|
||||||
error(src->token, "Deferred procedure '%.*s' parameters do not match the inputs of initial procedure '%.*s':\n\t(%s) =/= (%s)",
|
error(src->token, "Deferred procedure '%.*s' parameters do not match the inputs of initial procedure '%.*s':\n\t(%s) =/= (%s)",
|
||||||
LIT(dst->token.string), LIT(src->token.string),
|
LIT(dst->token.string), LIT(src->token.string),
|
||||||
s, d
|
d, s
|
||||||
);
|
);
|
||||||
gb_string_free(d);
|
gb_string_free(d);
|
||||||
gb_string_free(s);
|
gb_string_free(s);
|
||||||
@@ -6250,7 +6250,7 @@ gb_internal void check_deferred_procedures(Checker *c) {
|
|||||||
gbString d = type_to_string(dst_params);
|
gbString d = type_to_string(dst_params);
|
||||||
error(src->token, "Deferred procedure '%.*s' parameters do not match the results of initial procedure '%.*s':\n\t(%s) =/= (%s)",
|
error(src->token, "Deferred procedure '%.*s' parameters do not match the results of initial procedure '%.*s':\n\t(%s) =/= (%s)",
|
||||||
LIT(dst->token.string), LIT(src->token.string),
|
LIT(dst->token.string), LIT(src->token.string),
|
||||||
s, d
|
d, s
|
||||||
);
|
);
|
||||||
gb_string_free(d);
|
gb_string_free(d);
|
||||||
gb_string_free(s);
|
gb_string_free(s);
|
||||||
@@ -6303,7 +6303,7 @@ gb_internal void check_deferred_procedures(Checker *c) {
|
|||||||
gbString d = type_to_string(dst_params);
|
gbString d = type_to_string(dst_params);
|
||||||
error(src->token, "Deferred procedure '%.*s' parameters do not match the results of initial procedure '%.*s':\n\t(%s) =/= (%s)",
|
error(src->token, "Deferred procedure '%.*s' parameters do not match the results of initial procedure '%.*s':\n\t(%s) =/= (%s)",
|
||||||
LIT(dst->token.string), LIT(src->token.string),
|
LIT(dst->token.string), LIT(src->token.string),
|
||||||
s, d
|
d, s
|
||||||
);
|
);
|
||||||
gb_string_free(d);
|
gb_string_free(d);
|
||||||
gb_string_free(s);
|
gb_string_free(s);
|
||||||
|
|||||||
Reference in New Issue
Block a user