make ir use different tag id types

This commit is contained in:
Folkert 2021-06-28 20:16:39 +02:00
parent 0d07c2ef84
commit 1d1bcaea63
4 changed files with 25 additions and 14 deletions

View file

@ -7698,7 +7698,7 @@ where
Stmt::Let(
closure_tag_id_symbol,
expr,
Layout::Builtin(Builtin::Int64),
union_layout.tag_id_layout(),
env.arena.alloc(result),
)
}
@ -7857,7 +7857,7 @@ fn match_on_lambda_set<'a>(
Stmt::Let(
closure_tag_id_symbol,
expr,
Layout::Builtin(Builtin::Int64),
union_layout.tag_id_layout(),
env.arena.alloc(result),
)
}