aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/src/dotty/tools/dotc/printing/Formatting.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/printing/Formatting.scala b/compiler/src/dotty/tools/dotc/printing/Formatting.scala
index aa25880c2..b35a07027 100644
--- a/compiler/src/dotty/tools/dotc/printing/Formatting.scala
+++ b/compiler/src/dotty/tools/dotc/printing/Formatting.scala
@@ -139,7 +139,7 @@ object Formatting {
seen.record(super.ParamRefNameString(param), param)
override def toTextRef(tp: SingletonType): Text = tp match {
- case tp: SkolemType => seen.record(tp.repr, tp)
+ case tp: SkolemType => seen.record(tp.repr.toString, tp)
case _ => super.toTextRef(tp)
}
}