Skip to content

Commit bdddd41

Browse files
authored
Merge pull request #14940 from dotty-staging/fix-14938
Provide `Show[Throwable]`
2 parents 831ddf5 + 7072aa9 commit bdddd41

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)