aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-08-01 11:11:15 +0100
committergingerBill <bill@gingerbill.org>2023-08-01 11:11:15 +0100
commit69e1f42aedad0d1992e64989aac1d236bee3d4d9 (patch)
treec2d26c92e0120cc97d14196fcb5e28fa9cd51133 /src/check_expr.cpp
parentc35c58b023ec98aa7d42498b9ece68cf481f2c32 (diff)
Replace a lot of warnings with errors; remove deprecated stuff
Diffstat (limited to 'src/check_expr.cpp')
-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 8d159d920..40bf729c1 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -7153,7 +7153,7 @@ gb_internal ExprKind check_call_expr(CheckerContext *c, Operand *operand, Ast *c
i32 id = operand->builtin_id;
Entity *e = entity_of_node(operand->expr);
if (e != nullptr && e->token.string == "expand_to_tuple") {
- warning(operand->expr, "'expand_to_tuple' has been replaced with 'expand_values'");
+ error(operand->expr, "'expand_to_tuple' has been replaced with 'expand_values'");
}
if (!check_builtin_procedure(c, operand, call, id, type_hint)) {
operand->mode = Addressing_Invalid;