mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
fix bug in closure argument unpacking
This commit is contained in:
parent
a9b3c74f2e
commit
84421ad06d
6 changed files with 104 additions and 59 deletions
|
@ -227,6 +227,10 @@ impl<'a> ClosureLayout<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn internal_layout(&self) -> Layout<'a> {
|
||||
self.layout.clone()
|
||||
}
|
||||
|
||||
pub fn build_closure_data(
|
||||
&self,
|
||||
original: Symbol,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue