mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
fixes
This commit is contained in:
parent
9a5c20b7c3
commit
fecb83b9c2
15 changed files with 45 additions and 41 deletions
|
@ -231,10 +231,8 @@ fn insert_jumps<'a>(
|
|||
None
|
||||
}
|
||||
}
|
||||
Refcounting(modify, cont) => match insert_jumps(arena, cont, goal_id, needle) {
|
||||
Some(cont) => Some(arena.alloc(Refcounting(*modify, cont))),
|
||||
None => None,
|
||||
},
|
||||
Refcounting(modify, cont) => insert_jumps(arena, cont, goal_id, needle)
|
||||
.map(|cont| &*arena.alloc(Refcounting(*modify, cont))),
|
||||
|
||||
Rethrow => None,
|
||||
Ret(_) => None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue