summaryrefslogtreecommitdiff
path: root/test/pending/run/sigtp.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-03-23 22:35:09 +0000
committerPaul Phillips <paulp@improving.org>2011-03-23 22:35:09 +0000
commita45be8b2851b8bc76ffa40deb9810568ed5b69f1 (patch)
treee7337ff79c949d9390eda8aeb11f984c423f8af2 /test/pending/run/sigtp.scala
parent3491672e8667a7e5b8d9bd3d23239757cf1b7a85 (diff)
downloadscala-a45be8b2851b8bc76ffa40deb9810568ed5b69f1.tar.gz
scala-a45be8b2851b8bc76ffa40deb9810568ed5b69f1.tar.bz2
scala-a45be8b2851b8bc76ffa40deb9810568ed5b69f1.zip
Spiced up the signature test infrastructure a b...
Spiced up the signature test infrastructure a bunch, wrote some more tests, restored the tests in pending. No review.
Diffstat (limited to 'test/pending/run/sigtp.scala')
-rw-r--r--test/pending/run/sigtp.scala18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/pending/run/sigtp.scala b/test/pending/run/sigtp.scala
deleted file mode 100644
index f0cac859f5..0000000000
--- a/test/pending/run/sigtp.scala
+++ /dev/null
@@ -1,18 +0,0 @@
-trait BugBase [A, E] {
- val key: A
- var next: E = _
-}
-
-final class Bug[A, B](val key: A) extends BugBase[A, Bug[A, B]] {
- def foo = next
-}
-
-object Test {
- def f(clazz: Class[_]) =
- clazz.getDeclaredMethods.toList.map(_.toGenericString).sorted foreach println
-
- def main(args: Array[String]): Unit = {
- f(classOf[Bug[_, _]])
- f(classOf[BugBase[_, _]])
- }
-}