We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09b8754 commit 6e811b4Copy full SHA for 6e811b4
compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala
@@ -290,7 +290,9 @@ class PlainPrinter(_ctx: Context) extends Printer {
290
if (idx >= 0) selfRecName(idx + 1)
291
else "{...}.this" // TODO move underlying type to an addendum, e.g. ... z3 ... where z3: ...
292
case tp: SkolemType =>
293
- if (homogenizedView) toText(tp.info) else toText(tp.repr)
+ if (homogenizedView) toText(tp.info)
294
+ else if (ctx.settings.XprintTypes.value) "<" ~ toText(tp.repr) ~ ":" ~ toText(tp.info) ~ ">"
295
+ else toText(tp.repr)
296
}
297
298
0 commit comments