summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-01-04 22:04:09 -0800
committerPaul Phillips <paulp@improving.org>2012-01-13 21:47:51 -0800
commit066b1a1f5d80e1a314d6e96a9a8c0b4d76a8c7a1 (patch)
tree93cdc628540dc0d1192a82155668b0dba64b1b99 /test
parentd7981e784e11e8a5a9a761f28d90725d721c9475 (diff)
downloadscala-066b1a1f5d80e1a314d6e96a9a8c0b4d76a8c7a1.tar.gz
scala-066b1a1f5d80e1a314d6e96a9a8c0b4d76a8c7a1.tar.bz2
scala-066b1a1f5d80e1a314d6e96a9a8c0b4d76a8c7a1.zip
Fix for crasher in uncurry.
A small dose of packedType closes SI-4869.
Diffstat (limited to 'test')
-rw-r--r--test/files/pos/t4869.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/t4869.scala b/test/files/pos/t4869.scala
new file mode 100644
index 0000000000..f84aa4ed07
--- /dev/null
+++ b/test/files/pos/t4869.scala
@@ -0,0 +1,8 @@
+// /scala/trac/4869/a.scala
+// Wed Jan 4 21:17:29 PST 2012
+
+class C[T]
+class A {
+ def f[T](x: T): C[_ <: T] = null
+ def g = List(1d) map f
+}