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 @@ -385,8 +385,8 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
385385 case SeqLiteral (elems, elemtpt) =>
386386 " [" ~ toTextGlobal(elems, " ," ) ~ " : " ~ toText(elemtpt) ~ " ]"
387387 case tree @ Inlined (call, bindings, body) =>
388- ((" /* inlined from " ~ toText(call) ~ " */ " ) `provided`
389- ! call.isEmpty && ! homogenizedView && ! ctx.settings.YshowNoInline .value) ~
388+ ((if ( ! call.isEmpty) " /* inlined from " ~ toText(call) ~ " */ " else " /* inline arg */ " : Text ) `provided`
389+ ! homogenizedView && ! ctx.settings.YshowNoInline .value) ~
390390 blockText(bindings :+ body)
391391 case tpt : untpd.DerivedTypeTree =>
392392 " <derived typetree watching " ~ summarized(toText(tpt.watched)) ~ " >"
You can’t perform that action at this time.
0 commit comments