diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2024-09-02 00:18:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-02 00:18:15 +0100 |
| commit | 39b49cb6fbf5f717bb0b01c6449d37f99ffd9b48 (patch) | |
| tree | 41380ba9886884e28d1d2f97e578494deee20935 /src/check_expr.cpp | |
| parent | dd1f1516960fd0c1882a3b56d11bec88a03c0059 (diff) | |
| parent | 9871ad5fc8c0bd2a3ae63c5446d65dda832385b0 (diff) | |
Merge pull request #4176 from Feoramund/fix-context-error-msg
Remove extra format item at end of `context` error message
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 cbfde4f4b..6ab87da09 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -10928,7 +10928,7 @@ gb_internal ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast case Token_context: { if (c->proc_name.len == 0 && c->curr_proc_sig == nullptr) { - error(node, "'context' is only allowed within procedures %p", c->curr_proc_decl); + error(node, "'context' is only allowed within procedures"); return kind; } if (unparen_expr(c->assignment_lhs_hint) == node) { |