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.
2 parents 6a73701 + 750b46e commit d09600dCopy full SHA for d09600d
compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala
@@ -376,8 +376,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
376
else if (name.isTypeName) typeText(txt)
377
else txt
378
case tree @ Select(qual, name) =>
379
- if (!printDebug && tree.hasType && tree.symbol.isTypeSplice) typeText("${") ~ toTextLocal(qual) ~ typeText("}")
380
- else if (qual.isType) toTextLocal(qual) ~ "#" ~ typeText(toText(name))
+ if (qual.isType) toTextLocal(qual) ~ "#" ~ typeText(toText(name))
381
else toTextLocal(qual) ~ ("." ~ nameIdText(tree) provided (name != nme.CONSTRUCTOR || printDebug))
382
case tree: This =>
383
optDotPrefix(tree) ~ keywordStr("this") ~ idText(tree)
0 commit comments