diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-05-09 20:20:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-09 20:20:18 +0200 |
| commit | 41bd8cf7143902db59c02c56fc5318a7e749d7a5 (patch) | |
| tree | 99264d56649471e88c7509c8605152d6ca09bb12 /src/check_expr.cpp | |
| parent | 1604f37cb82a843642708bc53d5f7b11f6634b6f (diff) | |
| parent | 98827c867dd88b1a72d74f0a6d703f7a25d81d91 (diff) | |
Merge pull request #3563 from laytan/fix-duplicate-suggestions
fix duplicate suggestions and add missing newline
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 2 |
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); } |