Warn on 'expand_to_tuple' has been replaced with 'expand_values'

This commit is contained in:
gingerBill
2023-02-10 13:17:04 +00:00
parent 162628000f
commit e6239ca3c2
2 changed files with 11 additions and 0 deletions

View File

@@ -1070,6 +1070,13 @@ gb_internal void init_universal(void) {
}
}
}
{
BuiltinProcId id = BuiltinProc_expand_values;
String name = str_lit("expand_to_tuple");
Entity *entity = alloc_entity(Entity_Builtin, nullptr, make_token_ident(name), t_invalid);
entity->Builtin.id = id;
add_global_entity(entity, builtin_pkg->scope);
}
bool defined_values_double_declaration = false;
for (auto const &entry : bc->defined_values) {