mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
don't drop empty records from layouts
This commit is contained in:
parent
1aba0534b1
commit
a9b3c74f2e
3 changed files with 6 additions and 2 deletions
|
@ -398,7 +398,8 @@ impl<'a> Layout<'a> {
|
|||
if let Layout::PhantomEmptyStruct = self {
|
||||
false
|
||||
} else {
|
||||
self.stack_size(1) == 0
|
||||
// self.stack_size(1) == 0
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue