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

@ -846,16 +846,6 @@ trait Backend<'a> {
self.load_literal_i64(sym, 0);
}
Expr::FunctionPointer { .. } => todo_lambda_erasure!(),
Expr::Reuse {
tag_layout,
tag_id,
symbol: reused,
arguments,
..
} => {
self.load_literal_symbols(arguments);
self.tag(sym, arguments, tag_layout, *tag_id, Some(*reused));
}
Expr::Reset { symbol, .. } => {
let layout = *self.layout_map().get(symbol).unwrap();