summaryrefslogtreecommitdiff
path: root/test/files/run/bug4291.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/files/run/bug4291.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/files/run/bug4291.scala')
-rw-r--r--test/files/run/bug4291.scala17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/files/run/bug4291.scala b/test/files/run/bug4291.scala
new file mode 100644
index 0000000000..a6dd357296
--- /dev/null
+++ b/test/files/run/bug4291.scala
@@ -0,0 +1,17 @@
+import scala.tools.partest._
+
+object Test extends App with SigTest {
+ show[List[_]]("apply")
+ show[Option[_]]("get")
+ show[Function1[_, _]]("apply")
+
+ for (name <- List("map", "flatMap", "filter", "head", "groupBy")) {
+ show[Traversable[_]](name)
+ show[Iterable[_]](name)
+ show[Seq[_]](name)
+ show[Set[_]](name)
+ show[Map[_,_]](name)
+ show[Vector[_]](name)
+ show[Range](name)
+ }
+}