mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Fix #3305
This commit is contained in:
+1
-1
@@ -1599,7 +1599,7 @@ gb_internal Entity *check_ident(CheckerContext *c, Operand *o, Ast *n, Type *nam
|
|||||||
|
|
||||||
for (CIdentSuggestion const &suggestion : c_ident_suggestions) {
|
for (CIdentSuggestion const &suggestion : c_ident_suggestions) {
|
||||||
if (name == suggestion.name) {
|
if (name == suggestion.name) {
|
||||||
error_line("\tSuggestion: Did you mean %s\n", LIT(suggestion.msg));
|
error_line("\tSuggestion: Did you mean %.*s\n", LIT(suggestion.msg));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user