aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2024-06-10 00:50:16 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2024-06-10 00:50:16 -0400
commit45d1328a85818fc77f2aacc77fa6ce0cfbce3473 (patch)
treec54105f4d7e1626e535cdb00cbbf7fd927496e5b
parent5985c6e3df25dc693a554f824ba3d1d1f3b8086a (diff)
Fix typo in a `#force_inline` error message
-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 13d0e277d..641f70566 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -7672,7 +7672,7 @@ gb_internal ExprKind check_call_expr(CheckerContext *c, Operand *operand, Ast *c
if (decl->proc_lit) {
ast_node(pl, ProcLit, decl->proc_lit);
if (pl->inlining == ProcInlining_no_inline) {
- error(call, "'#force_inline' cannot be applied to a procedure that has be marked as '#force_no_inline'");
+ error(call, "'#force_inline' cannot be applied to a procedure that has been marked as '#force_no_inline'");
}
}
}