do not set an underscore on parse and only prefix in formatter

This commit is contained in:
rvcas 2020-11-18 08:25:40 -05:00
parent f471d5bbe1
commit 72c85009c6
4 changed files with 9 additions and 7 deletions

View file

@ -554,7 +554,6 @@ impl<'a> Pattern<'a> {
) => string_x == string_y && base_x == base_y && is_negative_x == is_negative_y,
(FloatLiteral(x), FloatLiteral(y)) => x == y,
(StrLiteral(x), StrLiteral(y)) => x == y,
// TODO do we want to compare anything here?
(Underscore(x), Underscore(y)) => x == y,
// Space