diff options
author | Paul Phillips <paulp@improving.org> | 2012-02-17 09:52:40 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-02-17 11:10:23 -0800 |
commit | 1e648c386216d4c60121321a7ec40e2536bada9c (patch) | |
tree | 300e7095cf45ba476dd5717f028cd154f4e7f702 /test/files/run/t4770.scala | |
parent | 91148376049a152edec12348ff9b7e9e93e6ebe1 (diff) | |
download | scala-1e648c386216d4c60121321a7ec40e2536bada9c.tar.gz scala-1e648c386216d4c60121321a7ec40e2536bada9c.tar.bz2 scala-1e648c386216d4c60121321a7ec40e2536bada9c.zip |
Fixed AnyRef specialization.
At least for the value of fix which means "better than it was in
2.9." I accidentally spent a long while trying to fix something I didn't
realize I hadn't broken. But then I lucked into partially fixing it, so
that's good news.
See run/t5488-fn.scala if you want to see what still doesn't work.
(It's covered at SI-4770, which is now reopened.) Closes SI-5488.
Diffstat (limited to 'test/files/run/t4770.scala')
-rw-r--r-- | test/files/run/t4770.scala | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/files/run/t4770.scala b/test/files/run/t4770.scala deleted file mode 100644 index 25bf3050c3..0000000000 --- a/test/files/run/t4770.scala +++ /dev/null @@ -1,15 +0,0 @@ -package crasher { - class Z[@specialized A, @specialized(AnyRef) B](var a: A, var b: B) { - override def toString = "" + ((a, b)) - } - object O { - def apply[@specialized A, @specialized(AnyRef) B](a0: A, b0: B) = new Z(a0, b0) - } -} - -object Test { - def main(args: Array[String]): Unit = { - println(crasher.O("a", 2)) - println(crasher.O(2, "a")) - } -} |