mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
constraint default unique
This commit is contained in:
parent
36574e6ff7
commit
ae966c8933
3 changed files with 123 additions and 9 deletions
|
@ -230,7 +230,6 @@ pub fn constrain_pattern(
|
|||
RecordField::Required(pat_type)
|
||||
}
|
||||
DestructType::Optional(expr_var, loc_expr) => {
|
||||
// Eq(Type, Expected<Type>, Category, Region),
|
||||
let expr_expected = Expected::ForReason(
|
||||
Reason::RecordDefaultField(label.clone()),
|
||||
pat_type.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue