Skip to content

Commit ad47f34

Browse files
dwijnandtgodzik
authored andcommitted
Add Show[Long] & Show[Unit]
[Cherry-picked 3458da7]
1 parent b29653c commit ad47f34

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
@@ -125,13 +125,15 @@ object Formatting {
125125
given Show[Char] = ShowAny
126126
given Show[Boolean] = ShowAny
127127
given Show[Integer] = ShowAny
128+
given Show[Long] = ShowAny
128129
given Show[String] = ShowAny
129130
given Show[Class[?]] = ShowAny
130131
given Show[Throwable] = ShowAny
131132
given Show[StringBuffer] = ShowAny
132133
given Show[CompilationUnit] = ShowAny
133134
given Show[Phases.Phase] = ShowAny
134135
given Show[TyperState] = ShowAny
136+
given Show[Unit] = ShowAny
135137
given Show[config.ScalaVersion] = ShowAny
136138
given Show[io.AbstractFile] = ShowAny
137139
given Show[parsing.Scanners.Scanner] = ShowAny

0 commit comments

Comments
 (0)