diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2024-07-16 22:11:54 +0200 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2024-07-16 22:11:54 +0200 |
| commit | 47f14dd9ea2a9ce0df263f8a3fe2e6ccf5b53751 (patch) | |
| tree | 49795faa7c92a16760117ec98dd54026ea82f2ab | |
| parent | 853487e86cd1bede0c5179ed1ba796aad2200f39 (diff) | |
type is never a tuple here
| -rw-r--r-- | src/llvm_backend_proc.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/llvm_backend_proc.cpp b/src/llvm_backend_proc.cpp index e26b2e50f..2f736ff6c 100644 --- a/src/llvm_backend_proc.cpp +++ b/src/llvm_backend_proc.cpp @@ -2290,9 +2290,6 @@ gb_internal lbValue lb_build_builtin_proc(lbProcedure *p, Ast *expr, TypeAndValu { Type *main_type = tv.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 y = lb_build_expr(p, ce->args[1]); |