diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2016-01-13 14:14:02 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2016-01-24 13:51:46 +0100 |
commit | b18c930965c0ca70e1fbd15674d042d83a38ef4e (patch) | |
tree | 9cec30041ef3200a18e068b5b68534f110235edb /tests/pos/i939.scala | |
parent | 842e966a233084539fbc755320c83f8c6fed7ef0 (diff) | |
download | dotty-b18c930965c0ca70e1fbd15674d042d83a38ef4e.tar.gz dotty-b18c930965c0ca70e1fbd15674d042d83a38ef4e.tar.bz2 dotty-b18c930965c0ca70e1fbd15674d042d83a38ef4e.zip |
Test that #939 is fixed
Diffstat (limited to 'tests/pos/i939.scala')
-rw-r--r-- | tests/pos/i939.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/pos/i939.scala b/tests/pos/i939.scala new file mode 100644 index 000000000..720bf764c --- /dev/null +++ b/tests/pos/i939.scala @@ -0,0 +1,8 @@ +object IntMap { + private case object Nil { + override def equals(that : Any) = that match { + case _: this.type => true + case _ => super.equals(that) + } + } +} |