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 ce50111 commit 1718d47Copy full SHA for 1718d47
scaladoc/src/dotty/tools/scaladoc/Inkuire.scala
@@ -65,7 +65,7 @@ object Inkuire {
65
}
66
67
case class TypeName(name: String) {
68
- override def hashCode(): Int = name.toLowerCase.hashCode
+ override def hashCode: Int = name.toLowerCase.hashCode
69
70
override def equals(obj: Any): Boolean = {
71
obj match {
@@ -81,6 +81,8 @@ object Inkuire {
81
vars: Set[String],
82
constraints: Map[String, Seq[Type]]
83
) {
84
+ override def hashCode: Int = vars.size.hashCode
85
+
86
override def equals(obj: Any): Boolean =
87
88
case other: SignatureContext if this.vars.size == other.vars.size => true
0 commit comments