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

@ -6,7 +6,7 @@ use roc_can::constraint::{Constraint, Constraints};
use roc_can::env::Env;
use roc_can::expected::Expected;
use roc_can::expr::{canonicalize_expr, Expr, Output, PendingDerives};
use roc_can::operator;
use roc_can::desugar;
use roc_can::scope::Scope;
use roc_collections::all::{ImMap, MutMap, SendSet};
use roc_constrain::expr::constrain_expr;
@ -166,7 +166,7 @@ pub fn can_expr_with<'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.
let loc_expr = operator::desugar_expr(
let loc_expr = desugar::desugar_expr(
arena,
&loc_expr,
expr_str,