mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Fix gen_wasm exhaustiveness error
This commit is contained in:
parent
2cf551a634
commit
b16faae0a2
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ impl WasmLayout {
|
|||
Layout::Builtin(Builtin::EmptyList) => Self::StackMemory(size),
|
||||
Layout::Builtin(Builtin::EmptyDict) => Self::StackMemory(size),
|
||||
Layout::Builtin(Builtin::EmptySet) => Self::StackMemory(size),
|
||||
Layout::LambdaSet(_) => Self::StackMemory(size),
|
||||
Layout::Struct(_) => Self::StackMemory(size),
|
||||
Layout::Union(UnionLayout::NonRecursive(_)) => Self::StackMemory(size),
|
||||
Layout::Union(UnionLayout::Recursive(_)) => Self::HeapMemory,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue