Skip to content

Commit

Permalink
override showFormatted to use format with break
Browse files Browse the repository at this point in the history
  • Loading branch information
tribbloid committed Dec 29, 2024
1 parent 2ed2b9f commit c1bb81e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -899,4 +899,6 @@ trait SplainFormattingExtension extends typechecker.splain.SplainFormatting with
override def showFormattedLImpl(ft: Formatted, break: Boolean): TypeRepr = {
ShowFormattedHelper(break)(ft)
}

override def showFormatted(tpe: Formatted): String = showFormattedL(tpe, break = true).joinLines
}

0 comments on commit c1bb81e

Please sign in to comment.