Add effect_type to can ClosureData

This commit is contained in:
Agus Zubiaga 2024-10-04 20:30:56 -03:00
parent d692fc7c42
commit 386a5055ee
No known key found for this signature in database
13 changed files with 40 additions and 0 deletions

View file

@ -446,6 +446,7 @@ fn defn_help(
function_type: var_store.fresh(),
closure_type: var_store.fresh(),
return_type: ret_var,
effect_type: Variable::PURE,
early_returns: vec![],
name: fn_name,
captured_symbols: Vec::new(),