mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Starting to add no arg tag union
This commit is contained in:
parent
b7b04344f3
commit
d34f984169
7 changed files with 492 additions and 330 deletions
|
@ -816,6 +816,13 @@ pub fn constrain_expr(
|
|||
ext_var,
|
||||
name,
|
||||
arguments,
|
||||
}
|
||||
| ZeroArgumentTag {
|
||||
variant_var,
|
||||
ext_var,
|
||||
name,
|
||||
arguments,
|
||||
..
|
||||
} => {
|
||||
let mut vars = Vec::with_capacity(arguments.len());
|
||||
let mut types = Vec::with_capacity(arguments.len());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue