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

@ -509,7 +509,7 @@ fn fix_values_captured_in_closure_expr(
fix_values_captured_in_closure_expr(&mut loc_expr.value, no_capture_symbols);
}
Tag { arguments, .. } => {
Tag { arguments, .. } | ZeroArgumentTag { arguments, .. } => {
for (_, loc_arg) in arguments.iter_mut() {
fix_values_captured_in_closure_expr(&mut loc_arg.value, no_capture_symbols);
}