WIP support nested suffixes

This commit is contained in:
Luke Boswell 2024-04-07 14:40:58 +10:00
parent 2200916c2b
commit 5a91a4f78a
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
6 changed files with 1053 additions and 433 deletions

View file

@ -312,7 +312,11 @@ pub fn canonicalize_module_defs<'a>(
// visited a BinOp node we'd recursively try to apply this to each of its nested
// operators, and then again on *their* nested operators, ultimately applying the
// rules multiple times unnecessarily.
crate::desugar::desugar_defs_node_values(arena, loc_defs, src, &mut None, module_path);
// if module_path.contains("test.roc"){
// dbg!(&loc_defs);
// }
crate::desugar::desugar_defs_node_values(arena, loc_defs, src, &mut None, module_path, true);
let mut rigid_variables = RigidVariables::default();