Do not alias ClosureData.fx_type in pattern matches

This commit is contained in:
Agus Zubiaga 2024-10-27 14:29:36 -03:00
parent b31b30c468
commit dae10d10fb
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -2325,7 +2325,7 @@ pub fn inline_calls(var_store: &mut VarStore, expr: Expr) -> Expr {
function_type,
closure_type,
return_type,
fx_type: effect_type,
fx_type,
early_returns,
recursive,
name,
@ -2343,7 +2343,7 @@ pub fn inline_calls(var_store: &mut VarStore, expr: Expr) -> Expr {
function_type,
closure_type,
return_type,
fx_type: effect_type,
fx_type,
early_returns,
recursive,
name,