@@ -732,11 +732,6 @@ trait Implicits { self: Typer =>
732
732
}
733
733
}
734
734
735
- lazy val synthesizedQuoteContext : SpecialHandler =
736
- (formal, span) => implicit ctx =>
737
- if (ctx.inMacro || enclosingInlineds.nonEmpty) ref(defn.QuoteContext_macroContext )
738
- else EmptyTree
739
-
740
735
lazy val synthesizedTupleFunction : SpecialHandler =
741
736
(formal, span) => implicit ctx => formal match {
742
737
case AppliedType (_, funArgs @ fun :: tupled :: Nil ) =>
@@ -1082,7 +1077,6 @@ trait Implicits { self: Typer =>
1082
1077
mySpecialHandlers = List (
1083
1078
defn.ClassTagClass -> synthesizedClassTag,
1084
1079
defn.QuotedTypeClass -> synthesizedTypeTag,
1085
- defn.QuoteContextClass -> synthesizedQuoteContext,
1086
1080
defn.EqlClass -> synthesizedEq,
1087
1081
defn.TupledFunctionClass -> synthesizedTupleFunction,
1088
1082
defn.ValueOfClass -> synthesizedValueOf,
@@ -1464,7 +1458,6 @@ trait Implicits { self: Typer =>
1464
1458
case alt1 : SearchSuccess =>
1465
1459
var diff = compareCandidate(alt1, alt2.ref, alt2.level)
1466
1460
assert(diff <= 0 ) // diff > 0 candidates should already have been eliminated in `rank`
1467
-
1468
1461
if diff == 0 then
1469
1462
// Fall back: if both results are extension method applications,
1470
1463
// compare the extension methods instead of their wrappers.
0 commit comments