Rename roc_module::operator -> roc_module::called_via

A bit of a nit, but this file is now more general than just keeping
track of operator methods.
This commit is contained in:
ayazhafiz 2021-11-18 00:09:53 -05:00
parent 30955a1eb8
commit 8a60162a1e
15 changed files with 17 additions and 17 deletions

View file

@ -4,7 +4,7 @@ use crate::header::{AppHeader, ImportsEntry, InterfaceHeader, PlatformHeader, Ty
use crate::ident::Ident;
use bumpalo::collections::{String, Vec};
use bumpalo::Bump;
use roc_module::operator::{BinOp, CalledVia, UnaryOp};
use roc_module::called_via::{BinOp, CalledVia, UnaryOp};
use roc_region::all::{Loc, Position, Region};
#[derive(Clone, Debug, PartialEq)]

View file

@ -13,7 +13,7 @@ use crate::pattern::loc_closure_param;
use crate::type_annotation;
use bumpalo::collections::Vec;
use bumpalo::Bump;
use roc_module::operator::{BinOp, CalledVia, UnaryOp};
use roc_module::called_via::{BinOp, CalledVia, UnaryOp};
use roc_region::all::{Located, Position, Region};
use crate::parser::Progress::{self, *};