diff --git a/src/check_expr.cpp b/src/check_expr.cpp index e66db6ab3..891e4093a 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -12211,7 +12211,7 @@ gb_internal ExprKind check_index_expr(CheckerContext *c, Operand *o, Ast *node, gbString str = expr_to_string(o->expr); error(o->expr, "Cannot index a constant '%s' with a variable index", str); if (!build_context.terse_errors) { - error_line("\tSuggestion: store the constant into a variable or index it with a constant\n"); + error_line("\tSuggestion: store the constant into a variable or index it with a constant index\n"); } gb_string_free(str); o->mode = Addressing_Invalid;