Type fixes

This commit is contained in:
Ayaz Hafiz 2023-07-02 10:37:18 -05:00
parent b2d3b52bd5
commit 3e3d3cc7f3
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
6 changed files with 2 additions and 44 deletions

View file

@ -495,21 +495,6 @@ impl<'a, 'r> Ctx<'a, 'r> {
}
Some(Layout::OPAQUE_PTR)
}
&Expr::Reuse {
symbol,
update_tag_id: _,
update_mode: _,
tag_layout,
tag_id: _,
arguments: _,
} => {
let union = self
.interner
.insert_direct_no_semantic(LayoutRepr::Union(tag_layout));
self.check_sym_layout(symbol, union, UseKind::TagReuse);
// TODO also check update arguments
Some(union)
}
&Expr::Reset {
symbol,
update_mode: _,