enable list_ends_with test for dev backend

This commit is contained in:
Folkert 2023-05-07 20:16:09 +02:00
parent 72a997f1bf
commit 6091ccd3b0
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 8 additions and 4 deletions

View file

@ -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,