File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 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 =>
779779 /** If `formal` is of the form Eql[T, U], try to synthesize an
780780 * `Eql.eqlAny[T, U]` as solution.
781781 */
782- lazy val synthesizedEq : SpecialHandler = {
782+ lazy val synthesizedEql : SpecialHandler = {
783783 (formal, span) => implicit ctx => {
784784
785785 /** Is there an `Eql[T, T]` instance, assuming -strictEquality? */
@@ -1091,7 +1091,7 @@ trait Implicits { self: Typer =>
10911091 mySpecialHandlers = List (
10921092 defn.ClassTagClass -> synthesizedClassTag,
10931093 defn.QuotedTypeClass -> synthesizedTypeTag,
1094- defn.EqlClass -> synthesizedEq ,
1094+ defn.EqlClass -> synthesizedEql ,
10951095 defn.TupledFunctionClass -> synthesizedTupleFunction,
10961096 defn.ValueOfClass -> synthesizedValueOf,
10971097 defn.Mirror_ProductClass -> synthesizedProductMirror,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ sealed trait Eql[-L, -R]
99
1010/** Companion object containing a few universally known `Eql` instances.
1111 * 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.
1313 */
1414object Eql {
1515 /** A universal `Eql` instance. */
You can’t perform that action at this time.
0 commit comments