We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a2c947 commit d8d3c5cCopy full SHA for d8d3c5c
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -4623,9 +4623,8 @@ object Types {
4623
def derivedSkolemType(info: Type)(using Context): SkolemType =
4624
if (info eq this.info) this else SkolemType(info)
4625
4626
- override def computeHash(bs: Binders): Int = System.identityHashCode(this)
4627
- override def eql(that: Type): Boolean = this eq that
4628
-
+ override def computeHash(bs: Binders): Int = identityHash(bs)
+ override def equals(that: Any): Boolean = this.eq(that.asInstanceOf[AnyRef])
4629
4630
def withName(name: Name): this.type = { myRepr = name; this }
4631
0 commit comments