Open
Description
The Scalastyle linter complains about missing hashCode
definitions in Silver. I'm not sure if we did that intentionally but it seems worth double-checking, adding a comment to Silver if there is nothing to fix.
Defining either
equals()
orhashCode()
in a class without defining the other is a known source of bugs. Usually, when you define one, you should also define the other.Further Reading: Scalastyle - EqualsHashCode
silver/src/main/scala/viper/silver/utility/Common.scala
Lines 25 to 37 in c352aa5
Metadata
Metadata
Assignees
Labels
No labels