This commit is contained in:
Folkert 2020-10-24 21:23:55 +02:00
parent c2c0b30b8a
commit 2c55fa5ec5
2 changed files with 2 additions and 6 deletions

View File

@ -3,13 +3,11 @@ use roc_builtins::std::{Mode, StdLib};
use roc_can::constraint::{Constraint, LetConstraint}; use roc_can::constraint::{Constraint, LetConstraint};
use roc_can::module::ModuleOutput; use roc_can::module::ModuleOutput;
use roc_collections::all::{ImMap, MutMap, MutSet, SendMap}; use roc_collections::all::{ImMap, MutMap, MutSet, SendMap};
use roc_module::ident::Lowercase;
use roc_module::symbol::{ModuleId, Symbol}; use roc_module::symbol::{ModuleId, Symbol};
use roc_region::all::{Located, Region}; use roc_region::all::{Located, Region};
use roc_types::boolean_algebra::Bool; use roc_types::solved_types::{BuiltinAlias, FreeVars, SolvedType};
use roc_types::solved_types::{BuiltinAlias, FreeVars, SolvedBool, SolvedType};
use roc_types::subs::{VarId, VarStore, Variable}; use roc_types::subs::{VarId, VarStore, Variable};
use roc_types::types::{Alias, Problem, RecordField, Type}; use roc_types::types::{Alias, Problem, Type};
pub type SubsByModule = MutMap<ModuleId, ExposedModuleTypes>; pub type SubsByModule = MutMap<ModuleId, ExposedModuleTypes>;

View File

@ -68,8 +68,6 @@ pub enum SolvedBool {
impl SolvedBool { impl SolvedBool {
pub fn from_bool(boolean: &boolean_algebra::Bool, subs: &Subs) -> Self { pub fn from_bool(boolean: &boolean_algebra::Bool, subs: &Subs) -> Self {
use boolean_algebra::Bool;
match boolean { match boolean {
Bool::Shared => SolvedBool::SolvedShared, Bool::Shared => SolvedBool::SolvedShared,
Bool::Container(cvar, mvars) => { Bool::Container(cvar, mvars) => {