mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
rename operator.rs to desugar.rs
This commit is contained in:
parent
14ba398b5d
commit
3b2e9e36b8
5 changed files with 6 additions and 6 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue