aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorLaytan <laytanlaats@hotmail.com>2024-05-09 19:21:39 +0200
committerLaytan <laytanlaats@hotmail.com>2024-05-09 19:21:39 +0200
commit98827c867dd88b1a72d74f0a6d703f7a25d81d91 (patch)
tree0cbc7e5a1e5fc47f8e028be0dc2a780c7122795e /src/check_expr.cpp
parent8a1e7bb6fba1fb2c195d7fa6c153d278858cdf61 (diff)
fix duplicate suggestions and add missing newline
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index 98aebfe4e..f0c33d9d8 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -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);
}