Starting to add no arg tag union

This commit is contained in:
Eric Henry 2021-05-17 17:07:19 -04:00
parent b7b04344f3
commit d34f984169
7 changed files with 492 additions and 330 deletions

View file

@ -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());