mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
we do want to compare underscore values
This commit is contained in:
parent
1e7dcaebd8
commit
f471d5bbe1
1 changed files with 1 additions and 1 deletions
|
@ -555,7 +555,7 @@ impl<'a> Pattern<'a> {
|
|||
(FloatLiteral(x), FloatLiteral(y)) => x == y,
|
||||
(StrLiteral(x), StrLiteral(y)) => x == y,
|
||||
// TODO do we want to compare anything here?
|
||||
(Underscore(_), Underscore(_)) => true,
|
||||
(Underscore(x), Underscore(y)) => x == y,
|
||||
|
||||
// Space
|
||||
(SpaceBefore(x, _), SpaceBefore(y, _)) => x.equivalent(y),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue