File tree 2 files changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/typer
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -779,7 +779,7 @@ trait Implicits { self: Typer =>
779
779
/** If `formal` is of the form Eql[T, U], try to synthesize an
780
780
* `Eql.eqlAny[T, U]` as solution.
781
781
*/
782
- lazy val synthesizedEq : SpecialHandler = {
782
+ lazy val synthesizedEql : SpecialHandler = {
783
783
(formal, span) => implicit ctx => {
784
784
785
785
/** Is there an `Eql[T, T]` instance, assuming -strictEquality? */
@@ -1091,7 +1091,7 @@ trait Implicits { self: Typer =>
1091
1091
mySpecialHandlers = List (
1092
1092
defn.ClassTagClass -> synthesizedClassTag,
1093
1093
defn.QuotedTypeClass -> synthesizedTypeTag,
1094
- defn.EqlClass -> synthesizedEq ,
1094
+ defn.EqlClass -> synthesizedEql ,
1095
1095
defn.TupledFunctionClass -> synthesizedTupleFunction,
1096
1096
defn.ValueOfClass -> synthesizedValueOf,
1097
1097
defn.Mirror_ProductClass -> synthesizedProductMirror,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ sealed trait Eql[-L, -R]
9
9
10
10
/** Companion object containing a few universally known `Eql` instances.
11
11
* Eql instances involving primitive types or the Null type are handled directly in
12
- * the compiler (see Implicits.synthesizedEq ), so they are not included here.
12
+ * the compiler (see Implicits.synthesizedEql ), so they are not included here.
13
13
*/
14
14
object Eql {
15
15
/** A universal `Eql` instance. */
You can’t perform that action at this time.
0 commit comments