Skip to content

Commit b87f9e5

Browse files
committed
Rename synthesizedEq -> synthesizedEql
1 parent 255a538 commit b87f9e5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

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

library/src/scala/Eql.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
*/
1414
object Eql {
1515
/** A universal `Eql` instance. */

0 commit comments

Comments
 (0)