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 6645d88 commit 4f45784Copy full SHA for 4f45784
src/dotty/tools/dotc/core/Types.scala
@@ -2335,7 +2335,8 @@ object Types {
2335
override def underlying(implicit ctx: Context) = info
2336
def derivedSkolemType(info: Type)(implicit ctx: Context) =
2337
if (info eq this.info) this else SkolemType(info)
2338
- override def computeHash = doHash(info)
+ override def computeHash: Int = identityHash
2339
+ override def equals(that: Any) = this eq that.asInstanceOf[AnyRef]
2340
override def toString = s"Skolem($info)"
2341
}
2342
0 commit comments