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 4421092 commit c03e31bCopy full SHA for c03e31b
compiler/src/dotty/tools/io/PlainFile.scala
@@ -47,7 +47,7 @@ class PlainFile(val givenPath: Path) extends AbstractFile {
47
48
override def hashCode(): Int = System.identityHashCode(absolutePath)
49
override def equals(that: Any): Boolean = that match {
50
- case x: PlainFile => absolutePath == x.absolutePath
+ case x: PlainFile => absolutePath `eq` x.absolutePath
51
case _ => false
52
}
53
0 commit comments