Skip to content

Commit 9299577

Browse files
committed
Fixes after rebase
1 parent eb5743f commit 9299577

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/typer/Implicits.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)