mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-19 01:59:48 +00:00
parent
24e7a56f4b
commit
314cc7855a
2 changed files with 3 additions and 4 deletions
|
@ -2619,8 +2619,7 @@ impl<'a> LayoutRepr<'a> {
|
|||
LayoutRepr::Union(UnionLayout::NonRecursive(_)) => true,
|
||||
LayoutRepr::Struct(_) => {
|
||||
// TODO: write tests for this!
|
||||
// self.stack_size(interner, target_info) as usize > target_info.max_by_value_size()
|
||||
false
|
||||
self.stack_size(interner, target_info) as usize > target_info.max_by_value_size()
|
||||
}
|
||||
|
||||
LayoutRepr::LambdaSet(lambda_set) => interner
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue