mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
check inside a lambda set for whether it is reference counted
This commit is contained in:
parent
73ffce0baa
commit
334253f47f
7 changed files with 34 additions and 31 deletions
|
@ -228,7 +228,7 @@ pub trait LayoutInterner<'a>: Sized {
|
|||
}
|
||||
|
||||
fn is_refcounted(&self, layout: InLayout<'a>) -> bool {
|
||||
self.get_repr(layout).is_refcounted()
|
||||
self.get_repr(layout).is_refcounted(self)
|
||||
}
|
||||
|
||||
fn is_nullable(&self, layout: InLayout<'a>) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue