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 eb5743f commit 9299577Copy full SHA for 9299577
compiler/src/dotty/tools/dotc/typer/Implicits.scala
@@ -620,14 +620,14 @@ trait Implicits { self: Typer =>
620
val tag = bindFreeVars(arg)
621
if (bindFreeVars.ok) ref(defn.QuotedType_apply).appliedToType(tag)
622
else EmptyTree
623
- case arg :: Nil if ctx.inTransparentMethod =>
+ case arg :: Nil if ctx.inRewriteMethod =>
624
ref(defn.QuotedType_apply).appliedToType(arg)
625
case _ =>
626
EmptyTree
627
}
628
629
def synthesizedTastyContext(formal: Type): Tree =
630
- if (ctx.inTransparentMethod || enclosingInlineds.nonEmpty) ref(defn.TastyTasty_macroContext)
+ if (ctx.inRewriteMethod || enclosingInlineds.nonEmpty) ref(defn.TastyTasty_macroContext)
631
632
633
/** If `formal` is of the form Eq[T, U], where no `Eq` instance exists for
0 commit comments