File tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/printing 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -328,8 +328,8 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
328
328
if (name.isTypeName) typeText(txt)
329
329
else txt
330
330
case tree @ Select (qual, name) =>
331
- if (tree.hasType && tree.symbol == defn.QuotedExpr_~ ) keywordStr(" ~( " ) ~ toTextLocal(qual) ~ keywordStr(" ) " )
332
- else if (tree.hasType && tree.symbol == defn.QuotedType_~ ) typeText(" ~( " ) ~ toTextLocal(qual) ~ typeText(" ) " )
331
+ if (tree.hasType && tree.symbol == defn.QuotedExpr_~ ) keywordStr(" ${ " ) ~ toTextLocal(qual) ~ keywordStr(" } " )
332
+ else if (tree.hasType && tree.symbol == defn.QuotedType_~ ) typeText(" ${ " ) ~ toTextLocal(qual) ~ typeText(" } " )
333
333
else if (qual.isType) toTextLocal(qual) ~ " #" ~ typeText(toText(name))
334
334
else toTextLocal(qual) ~ (" ." ~ nameIdText(tree) provided name != nme.CONSTRUCTOR )
335
335
case tree : This =>
You can’t perform that action at this time.
0 commit comments