Skip to content

Commit eb37df5

Browse files
committed
Test that #939 is fixed
1 parent 9ac88f6 commit eb37df5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/pos/i939.scala

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
object IntMap {
2+
private[immutable] case object Nil {
3+
override def equals(that : Any) = that match {
4+
case _: this.type => true
5+
case _ => super.equals(that)
6+
}
7+
}
8+
}

0 commit comments

Comments
 (0)