Skip to content

Commit 4bdcf27

Browse files
nicolasstuckimichelou
authored andcommitted
Provide Show[Throwable]
Fixes scala#14938
1 parent fa92143 commit 4bdcf27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/printing/Formatting.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ object Formatting {
6666
given Show[Boolean] = ShowAny
6767
given Show[String] = ShowAny
6868
given Show[Class[?]] = ShowAny
69-
given Show[Exception] = ShowAny
69+
given Show[Throwable] = ShowAny
7070
given Show[StringBuffer] = ShowAny
7171
given Show[CompilationUnit] = ShowAny
7272
given Show[Phases.Phase] = ShowAny

0 commit comments

Comments
 (0)