mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
pattern match on single-tag tag unions
in LLVM and crane
This commit is contained in:
parent
b5abed5f54
commit
6253d2d1af
4 changed files with 60 additions and 7 deletions
|
@ -910,7 +910,7 @@ fn store_pattern2<'a>(
|
|||
match argument {
|
||||
Identifier(symbol) => {
|
||||
// store immediately in the given symbol
|
||||
stored.push((*symbol, layout.clone(), load));
|
||||
stored.push((*symbol, arg_layout.clone(), load));
|
||||
}
|
||||
Underscore => {
|
||||
// ignore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue