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 =>
620620 val tag = bindFreeVars(arg)
621621 if (bindFreeVars.ok) ref(defn.QuotedType_apply ).appliedToType(tag)
622622 else EmptyTree
623- case arg :: Nil if ctx.inTransparentMethod =>
623+ case arg :: Nil if ctx.inRewriteMethod =>
624624 ref(defn.QuotedType_apply ).appliedToType(arg)
625625 case _ =>
626626 EmptyTree
627627 }
628628
629629 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 )
631631 else EmptyTree
632632
633633 /** 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