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.
implicit
given
1 parent ee86cde commit c6e91fbCopy full SHA for c6e91fb
compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala
@@ -479,7 +479,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
479
if (lo eq hi) optText(lo)(" = " ~ _)
480
else optText(lo)(" >: " ~ _) ~ optText(hi)(" <: " ~ _)
481
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)
+ ("given ": Text).provided(tree.symbol.is(Implicit) && !homogenizedView) ~ // Used for scala.quoted.Type in quote patterns (not pickled)
483
changePrec(InfixPrec) { toText(name) ~ " @ " ~ toText(body) }
484
case Alternative(trees) =>
485
changePrec(OrPrec) { toText(trees, " | ") }
0 commit comments