Skip to content

Commit

Permalink
Fixed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mie6 committed Aug 11, 2023
1 parent a886bce commit b6a988f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ private [backend] object ErrorExplain {

private [backend] object TablableErrors {
def unapply[A](self: StrictParsley[A]): Option[StrictParsley[A]] = self match {
case self: ErrorAmend[A] => Some(self.p)
case self: ErrorLexical[A] => Some(self.p) // is this correct?
case self: ErrorAmend[_] => Some(self.p)
case self: ErrorLexical[_] => Some(self.p) // is this correct?
case _ => None
}
}

0 comments on commit b6a988f

Please sign in to comment.