summaryrefslogtreecommitdiff
path: root/test/pending
diff options
context:
space:
mode:
authorDavid MacIver <david.maciver@gmail.com>2008-09-04 13:54:09 +0000
committerDavid MacIver <david.maciver@gmail.com>2008-09-04 13:54:09 +0000
commit350f4abecd78ba9ed9aca86022deb8a9992586a5 (patch)
tree3de3d8b952330956a7f95824980956c6ea2d20f3 /test/pending
parent329de99b63e0c69403c9c6e3084493c58c430a8e (diff)
downloadscala-350f4abecd78ba9ed9aca86022deb8a9992586a5.tar.gz
scala-350f4abecd78ba9ed9aca86022deb8a9992586a5.tar.bz2
scala-350f4abecd78ba9ed9aca86022deb8a9992586a5.zip
Fixed RefChecks to not replace unapplies with c...
Fixed RefChecks to not replace unapplies with constructors (ticket 0508). Moved test for this from pending to main tests.
Diffstat (limited to 'test/pending')
-rwxr-xr-xtest/pending/run/t0508.scala13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/pending/run/t0508.scala b/test/pending/run/t0508.scala
deleted file mode 100755
index 7ef6f8197f..0000000000
--- a/test/pending/run/t0508.scala
+++ /dev/null
@@ -1,13 +0,0 @@
-object Test extends Application {
-
- case class Foo(s: String, n: Int)
-
- def foo[A, B, C](unapply1: A => Option[(B, C)], v: A) = {
- unapply1(v) match {
- case Some((fst, snd)) => println("first: " + fst, " second: " + snd)
- case _ => println(":(")
- }
- }
-
- foo(Foo.unapply, Foo("this might be fun", 10))
-}