mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-10 23:05:32 -04:00
Replace a lot of warnings with errors; remove deprecated stuff
This commit is contained in:
1 parent
c35c58b023
commit
69e1f42aed
6 files changed
+8
-39
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user