mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-11 14:26:21 +00:00
Type fixes
This commit is contained in:
parent
b2d3b52bd5
commit
3e3d3cc7f3
6 changed files with 2 additions and 44 deletions
|
@ -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: _,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue