@@ -732,11 +732,6 @@ trait Implicits { self: Typer =>
732732 }
733733 }
734734
735- lazy val synthesizedQuoteContext : SpecialHandler =
736- (formal, span) => implicit ctx =>
737- if (ctx.inMacro || enclosingInlineds.nonEmpty) ref(defn.QuoteContext_macroContext )
738- else EmptyTree
739-
740735 lazy val synthesizedTupleFunction : SpecialHandler =
741736 (formal, span) => implicit ctx => formal match {
742737 case AppliedType (_, funArgs @ fun :: tupled :: Nil ) =>
@@ -1082,7 +1077,6 @@ trait Implicits { self: Typer =>
10821077 mySpecialHandlers = List (
10831078 defn.ClassTagClass -> synthesizedClassTag,
10841079 defn.QuotedTypeClass -> synthesizedTypeTag,
1085- defn.QuoteContextClass -> synthesizedQuoteContext,
10861080 defn.EqlClass -> synthesizedEq,
10871081 defn.TupledFunctionClass -> synthesizedTupleFunction,
10881082 defn.ValueOfClass -> synthesizedValueOf,
@@ -1464,7 +1458,6 @@ trait Implicits { self: Typer =>
14641458 case alt1 : SearchSuccess =>
14651459 var diff = compareCandidate(alt1, alt2.ref, alt2.level)
14661460 assert(diff <= 0 ) // diff > 0 candidates should already have been eliminated in `rank`
1467-
14681461 if diff == 0 then
14691462 // Fall back: if both results are extension method applications,
14701463 // compare the extension methods instead of their wrappers.
0 commit comments