Skip to content

Commit 87608bd

Browse files
committed
Fix type error
1 parent bec4f9d commit 87608bd

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
@@ -139,7 +139,7 @@ object Formatting {
139139
seen.record(super.ParamRefNameString(param), param)
140140

141141
override def toTextRef(tp: SingletonType): Text = tp match {
142-
case tp: SkolemType => seen.record(tp.repr, tp)
142+
case tp: SkolemType => seen.record(tp.repr.toString, tp)
143143
case _ => super.toTextRef(tp)
144144
}
145145
}

0 commit comments

Comments
 (0)