mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
enable list_ends_with test for dev backend
This commit is contained in:
parent
72a997f1bf
commit
6091ccd3b0
2 changed files with 8 additions and 4 deletions
|
@ -204,6 +204,10 @@ fn eq_tag_union<'a>(
|
|||
}
|
||||
|
||||
let body = match union_layout {
|
||||
NonRecursive(&[]) => {
|
||||
// cannot be reached at runtime, but we need to generate valid code
|
||||
Stmt::Ret(Symbol::BOOL_TRUE)
|
||||
}
|
||||
NonRecursive(tags) => eq_tag_union_help(
|
||||
root,
|
||||
ident_ids,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue