diff options
author | Paul Phillips <paulp@improving.org> | 2012-09-27 09:22:15 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-09-27 09:24:10 -0700 |
commit | 75ffc821f711ecd4cad67cd13911f8e69952396f (patch) | |
tree | 458d1733e57f9e2c9d6579afa1432686fd3222cb /test/files/pos/t1107 | |
parent | 96d4a8646b1962fac2f2fc443b56c6619221b43c (diff) | |
download | scala-75ffc821f711ecd4cad67cd13911f8e69952396f.tar.gz scala-75ffc821f711ecd4cad67cd13911f8e69952396f.tar.bz2 scala-75ffc821f711ecd4cad67cd13911f8e69952396f.zip |
Moved two tests to less breaky locations.
When there is a test called pos/t1107.scala and also a test
called pos/t1107, it is bad.
Diffstat (limited to 'test/files/pos/t1107')
-rw-r--r-- | test/files/pos/t1107/O.scala | 13 | ||||
-rw-r--r-- | test/files/pos/t1107/T.scala | 7 |
2 files changed, 0 insertions, 20 deletions
diff --git a/test/files/pos/t1107/O.scala b/test/files/pos/t1107/O.scala deleted file mode 100644 index aa605a6d09..0000000000 --- a/test/files/pos/t1107/O.scala +++ /dev/null @@ -1,13 +0,0 @@ -object O -{ - def d(t: Top) = t match { - case s: Sub => true - case _ => false - } - - def main(args: Array[String]): Unit = { - val c = new AnyRef with C - - c.bob.toString + c.bob2.toString - } -} diff --git a/test/files/pos/t1107/T.scala b/test/files/pos/t1107/T.scala deleted file mode 100644 index 1f3712d529..0000000000 --- a/test/files/pos/t1107/T.scala +++ /dev/null @@ -1,7 +0,0 @@ -sealed trait Top -sealed trait Sub extends Top -trait C { - private object P extends Sub - def bob() = P.getClass - def bob2() = O.d(P) -} |