mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
Use Tag variants in uniqueness/mod.rs
This commit is contained in:
parent
8a1e202849
commit
b16059ff91
1 changed files with 2 additions and 2 deletions
|
@ -88,11 +88,11 @@ fn canonicalize_pattern(
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
Variant(_, _) | AppliedVariant(_, _, _) | EmptyRecordLiteral(_) => {
|
Tag(_, _) | AppliedTag(_, _, _) | EmptyRecordLiteral(_) => {
|
||||||
panic!("TODO add_constraints for {:?}", pattern);
|
panic!("TODO add_constraints for {:?}", pattern);
|
||||||
}
|
}
|
||||||
|
|
||||||
Underscore(_) | Shadowed(_) | UnrecognizedVariant(_) | UnsupportedPattern(_) => {
|
Underscore(_) | Shadowed(_) | UnsupportedPattern(_) => {
|
||||||
// no constraints
|
// no constraints
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue