fix expect on tuple type using the wrong internal type

This commit is contained in:
microproofs
2023-07-28 13:00:52 -04:00
committed by Kasey
parent f03ed41e03
commit 018453f6b1
2 changed files with 7 additions and 7 deletions

View File

@@ -1302,7 +1302,7 @@ impl<'a> CodeGenerator<'a> {
);
let expect_tuple_item = self.expect_type_assign(
tipo,
arg,
AirTree::local_var(&tuple_index_name, arg.clone()),
defined_data_types,
location,