File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -620,14 +620,14 @@ trait Implicits { self: Typer =>
620
620
val tag = bindFreeVars(arg)
621
621
if (bindFreeVars.ok) ref(defn.QuotedType_apply ).appliedToType(tag)
622
622
else EmptyTree
623
- case arg :: Nil if ctx.inTransparentMethod =>
623
+ case arg :: Nil if ctx.inRewriteMethod =>
624
624
ref(defn.QuotedType_apply ).appliedToType(arg)
625
625
case _ =>
626
626
EmptyTree
627
627
}
628
628
629
629
def synthesizedTastyContext (formal : Type ): Tree =
630
- if (ctx.inTransparentMethod || enclosingInlineds.nonEmpty) ref(defn.TastyTasty_macroContext )
630
+ if (ctx.inRewriteMethod || enclosingInlineds.nonEmpty) ref(defn.TastyTasty_macroContext )
631
631
else EmptyTree
632
632
633
633
/** If `formal` is of the form Eq[T, U], where no `Eq` instance exists for
You can’t perform that action at this time.
0 commit comments