Merge pull request #3720 from Feoramund/fix-force-inline-err-typo

Fix typo in a `#force_inline` error message
This commit is contained in:
Jeroen van Rijn
2024-06-10 10:25:09 +02:00
committed by GitHub

View File

@@ -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'");
}
}
}