mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-30 19:30:06 +00:00
type is never a tuple here
This commit is contained in:
@@ -2290,9 +2290,6 @@ gb_internal lbValue lb_build_builtin_proc(lbProcedure *p, Ast *expr, TypeAndValu
|
|||||||
{
|
{
|
||||||
Type *main_type = tv.type;
|
Type *main_type = tv.type;
|
||||||
Type *type = main_type;
|
Type *type = main_type;
|
||||||
if (is_type_tuple(main_type)) {
|
|
||||||
type = main_type->Tuple.variables[0]->type;
|
|
||||||
}
|
|
||||||
|
|
||||||
lbValue x = lb_build_expr(p, ce->args[0]);
|
lbValue x = lb_build_expr(p, ce->args[0]);
|
||||||
lbValue y = lb_build_expr(p, ce->args[1]);
|
lbValue y = lb_build_expr(p, ce->args[1]);
|
||||||
|
|||||||
Reference in New Issue
Block a user