Skip to content

Commit c6e91fb

Browse files
committed
Update implicit to given
1 parent ee86cde commit c6e91fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
479479
if (lo eq hi) optText(lo)(" = " ~ _)
480480
else optText(lo)(" >: " ~ _) ~ optText(hi)(" <: " ~ _)
481481
case Bind(name, body) =>
482-
("implict ": Text).provided(tree.symbol.is(Implicit) && !ctx.settings.YtestPickler.value) ~ // Used for scala.quoted.Type in quote patterns (not pickled)
482+
("given ": Text).provided(tree.symbol.is(Implicit) && !homogenizedView) ~ // Used for scala.quoted.Type in quote patterns (not pickled)
483483
changePrec(InfixPrec) { toText(name) ~ " @ " ~ toText(body) }
484484
case Alternative(trees) =>
485485
changePrec(OrPrec) { toText(trees, " | ") }

0 commit comments

Comments
 (0)