fix bug in closure argument unpacking

This commit is contained in:
Folkert 2020-12-10 20:45:19 +01:00
parent a9b3c74f2e
commit 84421ad06d
6 changed files with 104 additions and 59 deletions

View file

@ -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,