Detect fx mode based on hosted module

This commit is contained in:
Agus Zubiaga 2024-10-14 22:16:04 -03:00
parent fd3fb16f7a
commit 01c94050c8
No known key found for this signature in database
9 changed files with 54 additions and 10 deletions

View file

@ -62,6 +62,7 @@ pub fn can_expr_with(arena: &Bump, home: ModuleId, expr_str: &str) -> CanExprOut
&dep_idents,
&qualified_module_ids,
None,
roc_can::env::FxMode::PurityInference,
);
// Desugar operators (convert them to Apply calls, taking into account