mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
parent
7520dfee06
commit
bb3fe92251
7 changed files with 14 additions and 56 deletions
|
@ -468,16 +468,7 @@ impl<'a> Context<'a> {
|
|||
arguments,
|
||||
});
|
||||
|
||||
let mut b = Stmt::Let(z, v, l, b);
|
||||
|
||||
if !ps[1].borrow {
|
||||
b = Stmt::Refcounting(
|
||||
ModifyRc::Inc(arguments[2], 2),
|
||||
self.arena.alloc(b),
|
||||
)
|
||||
}
|
||||
|
||||
&*self.arena.alloc(b)
|
||||
&*self.arena.alloc(Stmt::Let(z, v, l, b))
|
||||
}
|
||||
None => unreachable!(),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue