aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index 58372f7a3..80a27bd79 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -6744,6 +6744,10 @@ gb_internal ExprKind check_call_expr(CheckerContext *c, Operand *operand, Ast *c
if (operand->mode == Addressing_Builtin) {
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'");
+ }
if (!check_builtin_procedure(c, operand, call, id, type_hint)) {
operand->mode = Addressing_Invalid;
operand->type = t_invalid;