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 e25e13d commit 0528a7aCopy full SHA for 0528a7a
compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala
@@ -719,7 +719,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
719
val (leading, paramss) =
720
if (isExtension && vparamss.nonEmpty) (paramsText(vparamss.head) ~ " " ~ txt, vparamss.tail)
721
else (txt, vparamss)
722
- (txt /: paramss)((txt, params) =>
+ (leading /: paramss)((txt, params) =>
723
txt ~
724
(Str(" given ") provided params.nonEmpty && params.head.mods.is(Given)) ~
725
paramsText(params))
0 commit comments