mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
fix uniq record destructure patterns
This commit is contained in:
parent
99aaa31bdc
commit
2db7c0503f
5 changed files with 53 additions and 20 deletions
|
@ -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()));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue