File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/printing Expand file tree Collapse file tree 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) {
328328 if (name.isTypeName) typeText(txt)
329329 else txt
330330 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(" } " )
333333 else if (qual.isType) toTextLocal(qual) ~ " #" ~ typeText(toText(name))
334334 else toTextLocal(qual) ~ (" ." ~ nameIdText(tree) provided name != nme.CONSTRUCTOR )
335335 case tree : This =>
You can’t perform that action at this time.
0 commit comments