We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2eb9c31 commit 23b3839Copy full SHA for 23b3839
compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala
@@ -109,7 +109,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
109
if (isOmittable(tp.cls)) return ""
110
case tp @ TermRef(pre, _) =>
111
val sym = tp.symbol
112
- if (sym.isPackageObject) return toTextPrefix(pre)
+ if (sym.isPackageObject && !homogenizedView) return toTextPrefix(pre)
113
if (isOmittable(sym)) return ""
114
case _ =>
115
}
0 commit comments