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 ce53589 commit 974f706Copy full SHA for 974f706
src/dotty/tools/dotc/printing/RefinedPrinter.scala
@@ -109,7 +109,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
109
return (toTextLocal(tycon) ~ "[" ~ Text(args map argText, ", ") ~ "]").close
110
}
111
case tp: TypeRef =>
112
- if ((tp.symbol is TypeParam | TypeArgument) && !ctx.phase.erasedTypes && !tp.symbol.isCompleting) {
+ if ((tp.symbol is TypeParam | TypeArgument | ExpandedName) && !ctx.phase.erasedTypes && !tp.symbol.isCompleting) {
113
tp.info match {
114
case TypeAlias(hi) => return toText(hi)
115
case _ => if (tp.prefix.isInstanceOf[ThisType]) return nameString(tp.symbol)
0 commit comments