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 c3ee298 commit 006ae3cCopy full SHA for 006ae3c
compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala
@@ -709,7 +709,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
709
val (leading, paramss) =
710
if (isExtension && vparamss.nonEmpty) (paramsText(vparamss.head) ~ " " ~ txt, vparamss.tail)
711
else (txt, vparamss)
712
- (txt /: paramss)((txt, params) =>
+ (leading /: paramss)((txt, params) =>
713
txt ~
714
(Str(" given ") provided params.nonEmpty && params.head.mods.is(Given)) ~
715
paramsText(params))
0 commit comments