mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
don't check a non-recursive tag union for uniqueness
This commit is contained in:
parent
5d1349973e
commit
b9cc3b7823
2 changed files with 38 additions and 22 deletions
|
@ -1139,6 +1139,13 @@ trait Backend<'a> {
|
|||
arg_layouts,
|
||||
ret_layout,
|
||||
),
|
||||
LowLevel::RefCountIsUnique => self.build_fn_call(
|
||||
sym,
|
||||
bitcode::UTILS_IS_UNIQUE.to_string(),
|
||||
args,
|
||||
arg_layouts,
|
||||
ret_layout,
|
||||
),
|
||||
LowLevel::NumToStr => {
|
||||
let arg_layout = arg_layouts[0];
|
||||
let intrinsic = match self.interner().get(arg_layout) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue