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 d3cd133 commit 0083f21Copy full SHA for 0083f21
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -4626,9 +4626,8 @@ object Types {
4626
def derivedSkolemType(info: Type)(using Context): SkolemType =
4627
if (info eq this.info) this else SkolemType(info)
4628
4629
- override def computeHash(bs: Binders): Int = System.identityHashCode(this)
4630
- override def eql(that: Type): Boolean = this eq that
4631
-
+ override def computeHash(bs: Binders): Int = identityHash(bs)
+ override def equals(that: Any): Boolean = this.eq(that.asInstanceOf[AnyRef])
4632
4633
def withName(name: Name): this.type = { myRepr = name; this }
4634
0 commit comments