Skip to content

Commit

Permalink
For #4086/#6491: future fix for match
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Bruchez committed Sep 18, 2024
1 parent 813d513 commit bc58a8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ trait Formatter {
else
(trace take max / 2) ::: List(ScissorsHr) ::: (trace takeRight max / 2)

def nextTraces(causedTrace: Option[List[String]], rest: List[Error]): List[String] = rest headOption match {
def nextTraces(causedTrace: Option[List[String]], rest: List[Error]): List[String] = rest.headOption match {
case Some(error) =>
val (newTrace, newTraceCompact) = formattedDropCaused(causedTrace, error)

Expand Down

0 comments on commit bc58a8e

Please sign in to comment.