mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-04 09:44:40 +00:00
fix duplicate suggestions and add missing newline
This commit is contained in:
@@ -6201,7 +6201,7 @@ gb_internal bool evaluate_where_clauses(CheckerContext *ctx, Ast *call_expr, Sco
|
||||
error(c, "Prefer to separate 'where' clauses with a comma rather than '&&'");
|
||||
gbString x = expr_to_string(c->BinaryExpr.left);
|
||||
gbString y = expr_to_string(c->BinaryExpr.right);
|
||||
error_line("\tSuggestion: '%s, %s'", x, y);
|
||||
error_line("\tSuggestion: '%s, %s'\n", x, y);
|
||||
gb_string_free(y);
|
||||
gb_string_free(x);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user