rename operator.rs to desugar.rs

This commit is contained in:
Luke Boswell 2024-03-17 15:57:27 +11:00
parent 14ba398b5d
commit 3b2e9e36b8
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
5 changed files with 6 additions and 6 deletions

View file

@ -20,7 +20,7 @@ pub mod expected;
pub mod expr;
pub mod module;
pub mod num;
pub mod operator;
pub mod desugar;
pub mod pattern;
pub mod procedure;
pub mod scope;

View file

@ -312,7 +312,7 @@ 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::operator::desugar_defs(arena, loc_defs, src, &mut None, module_path);
crate::desugar::desugar_defs(arena, loc_defs, src, &mut None, module_path);
let mut rigid_variables = RigidVariables::default();