File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
compiler/src/dotty/tools/dotc/printing Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -331,7 +331,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
331
331
if (tree.hasType && tree.symbol == defn.QuotedExpr_splice ) keywordStr(" ${" ) ~ toTextLocal(qual) ~ keywordStr(" }" )
332
332
else if (tree.hasType && tree.symbol == defn.QuotedType_splice ) typeText(" ${" ) ~ toTextLocal(qual) ~ typeText(" }" )
333
333
else if (qual.isType) toTextLocal(qual) ~ " #" ~ typeText(toText(name))
334
- else toTextLocal(qual) ~ (" ." ~ nameIdText(tree) provided name != nme.CONSTRUCTOR || ctx.settings.YprintDebug .value)
334
+ else toTextLocal(qual) ~ (" ." ~ nameIdText(tree) provided ( name != nme.CONSTRUCTOR || ctx.settings.YprintDebug .value) )
335
335
case tree : This =>
336
336
optDotPrefix(tree) ~ keywordStr(" this" ) ~ idText(tree)
337
337
case Super (qual : This , mix) =>
You can’t perform that action at this time.
0 commit comments