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 c6fa1a4 commit e77868cCopy full SHA for e77868c
compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala
@@ -129,7 +129,7 @@ class PlainPrinter(_ctx: Context) extends Printer {
129
homogenize(tp) match {
130
case tp: TypeType =>
131
toTextRHS(tp)
132
- case tp: TermRef if !tp.denotationIsCurrent || tp.symbol.is(Module) || tp.symbol.name.isImportName =>
+ case tp: TermRef if (!tp.denotationIsCurrent && !homogenizedView) || tp.symbol.is(Module) || tp.symbol.name.isImportName =>
133
toTextRef(tp) ~ ".type"
134
case tp: TermRef if tp.denot.isOverloaded =>
135
"<overloaded " ~ toTextRef(tp) ~ ">"
0 commit comments