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.
1 parent 741128c commit ed3137fCopy full SHA for ed3137f
compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala
@@ -385,8 +385,8 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
385
case SeqLiteral(elems, elemtpt) =>
386
"[" ~ toTextGlobal(elems, ",") ~ " : " ~ toText(elemtpt) ~ "]"
387
case tree @ Inlined(call, bindings, body) =>
388
- (("/* inlined from " ~ toText(call) ~ " */ ") `provided`
389
- !call.isEmpty && !homogenizedView && !ctx.settings.YshowNoInline.value) ~
+ ((if (!call.isEmpty) "/* inlined from " ~ toText(call) ~ " */ " else "/* inline arg */ ": Text) `provided`
+ !homogenizedView && !ctx.settings.YshowNoInline.value) ~
390
blockText(bindings :+ body)
391
case tpt: untpd.DerivedTypeTree =>
392
"<derived typetree watching " ~ summarized(toText(tpt.watched)) ~ ">"
0 commit comments