mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Update recursive layout tests
This commit is contained in:
parent
0cd448eab4
commit
44acb7e047
1 changed files with 2 additions and 2 deletions
|
@ -1248,7 +1248,7 @@ mod insert_recursive_layout {
|
|||
}
|
||||
|
||||
fn get_rec_ptr_index<'a>(interner: &impl LayoutInterner<'a>, layout: InLayout<'a>) -> usize {
|
||||
match interner.get(layout) {
|
||||
match interner.chase_recursive(layout) {
|
||||
Layout::Union(UnionLayout::Recursive(&[&[l1], &[l2]])) => {
|
||||
match (interner.get(l1), interner.get(l2)) {
|
||||
(
|
||||
|
@ -1372,7 +1372,7 @@ mod insert_recursive_layout {
|
|||
make_layout(arena, &mut interner)
|
||||
};
|
||||
|
||||
let in1 = {
|
||||
let in1: InLayout = {
|
||||
let mut interner = global.fork();
|
||||
interner.insert_recursive(arena, layout)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue