Closure conversion: add missing Map2 to matched functional operators

This commit is contained in:
Louis Gesbert 2024-06-21 12:14:41 +02:00
parent 0e05c75028
commit 7d7dd47216

View File

@ -255,7 +255,7 @@ let rec transform_closures_expr :
free_vars, build_closure ctx (Var.Map.bindings free_vars) body vars tys m
| EAppOp
{
op = ((HandleDefaultOpt | Fold | Map | Filter | Reduce), _) as op;
op = ((HandleDefaultOpt | Fold | Map | Map2 | Filter | Reduce), _) as op;
tys;
args;
} ->