fix uniq record destructure patterns

This commit is contained in:
Folkert 2020-01-07 20:09:52 +01:00
parent 99aaa31bdc
commit 2db7c0503f
5 changed files with 53 additions and 20 deletions

View file

@ -7,7 +7,6 @@ use crate::types::Constraint::{self, *};
use crate::types::Problem;
use crate::types::Type::{self, *};
use crate::unify::{unify, Unified};
use crate::uniqueness::boolean_algebra::Bool;
type Env = ImMap<Symbol, Variable>;
@ -402,7 +401,6 @@ fn type_to_variable(
register(subs, rank, pools, content)
}
// Boolean(Bool::Variable(var)) => *var,
Boolean(b) => {
let content = Content::Structure(FlatType::Boolean(b.clone()));