Rename effect_type to fx_type and add to FunctionDef

This commit is contained in:
Agus Zubiaga 2024-10-04 20:37:10 -03:00
parent 386a5055ee
commit 75177c9c98
No known key found for this signature in database
12 changed files with 41 additions and 36 deletions

View file

@ -350,7 +350,7 @@ pub(super) fn step_field(
function_type,
closure_type,
return_type: keep_or_skip_var,
effect_type: Variable::PURE,
fx_type: Variable::PURE,
early_returns: vec![],
name: step_field_closure,
captured_symbols: Vec::new(),
@ -588,7 +588,7 @@ fn custom_decoder_lambda(env: &mut Env<'_>, args: DecodingFieldArgs) -> (Variabl
function_type: this_custom_callback_var,
closure_type: custom_callback_lambda_set_var,
return_type: custom_callback_ret_var,
effect_type: Variable::PURE,
fx_type: Variable::PURE,
early_returns: vec![],
name: custom_closure_symbol,
captured_symbols: vec![(state_arg_symbol, state_record_var)],
@ -997,7 +997,7 @@ pub(super) fn finalizer(
function_type: function_var,
closure_type,
return_type: return_type_var,
effect_type: Variable::PURE,
fx_type: Variable::PURE,
early_returns: vec![],
name: function_symbol,
captured_symbols: Vec::new(),