Skip to content

Commit 3458da7

Browse files
committed
Add Show[Long] & Show[Unit]
1 parent 116f5fe commit 3458da7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,15 @@ object Formatting {
115115
given Show[Char] = ShowAny
116116
given Show[Boolean] = ShowAny
117117
given Show[Integer] = ShowAny
118+
given Show[Long] = ShowAny
118119
given Show[String] = ShowAny
119120
given Show[Class[?]] = ShowAny
120121
given Show[Throwable] = ShowAny
121122
given Show[StringBuffer] = ShowAny
122123
given Show[CompilationUnit] = ShowAny
123124
given Show[Phases.Phase] = ShowAny
124125
given Show[TyperState] = ShowAny
126+
given Show[Unit] = ShowAny
125127
given Show[config.ScalaVersion] = ShowAny
126128
given Show[io.AbstractFile] = ShowAny
127129
given Show[parsing.Scanners.Scanner] = ShowAny

0 commit comments

Comments
 (0)