diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dotty/tools/dotc/printing/PlainPrinter.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/printing/PlainPrinter.scala b/src/dotty/tools/dotc/printing/PlainPrinter.scala index dbdc0d632..a2e7b21e8 100644 --- a/src/dotty/tools/dotc/printing/PlainPrinter.scala +++ b/src/dotty/tools/dotc/printing/PlainPrinter.scala @@ -142,7 +142,7 @@ class PlainPrinter(_ctx: Context) extends Printer { toTextLocal(tpe) ~ " " ~ toText(annot) case tp: TypeVar => val suffix = if (tp.isInstantiated) "'" else "?" - toTextLocal(tp.underlying) ~ suffix // debug for now, so that we can see where the TypeVars are. + toTextLocal(tp.stripTypeVar) ~ suffix // debug for now, so that we can see where the TypeVars are. case _ => tp.fallbackToText(this) } |