mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
make ir use different tag id types
This commit is contained in:
parent
0d07c2ef84
commit
1d1bcaea63
4 changed files with 25 additions and 14 deletions
|
@ -1122,8 +1122,10 @@ fn test_to_equality<'a>(
|
|||
let lhs_symbol = env.unique_symbol();
|
||||
let rhs_symbol = env.unique_symbol();
|
||||
|
||||
stores.push((lhs_symbol, Layout::Builtin(Builtin::Int64), lhs));
|
||||
stores.push((rhs_symbol, Layout::Builtin(Builtin::Int64), rhs));
|
||||
let tag_id_layout = union_layout.tag_id_layout();
|
||||
|
||||
stores.push((lhs_symbol, tag_id_layout, lhs));
|
||||
stores.push((rhs_symbol, tag_id_layout, rhs));
|
||||
|
||||
(
|
||||
stores,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue