summaryrefslogtreecommitdiff
path: root/test/files/run/t5500.check
diff options
context:
space:
mode:
authorErik Osheim <d_m@plastic-idolatry.com>2012-02-19 00:09:36 -0500
committerErik Osheim <d_m@plastic-idolatry.com>2012-02-19 00:09:36 -0500
commit1df4fc6e59e65b202d98486ca698c721122054d2 (patch)
tree183686c3a4fa2879d51ae5676ad86adbc90886c9 /test/files/run/t5500.check
parent1f4f1235920fe87e1b1bdfd042683d9651f1d4f1 (diff)
downloadscala-1df4fc6e59e65b202d98486ca698c721122054d2.tar.gz
scala-1df4fc6e59e65b202d98486ca698c721122054d2.tar.bz2
scala-1df4fc6e59e65b202d98486ca698c721122054d2.zip
Fixed over-optimistic anyrefSpecCache (closes SI-5500).
The basic problem here was that generic type params were getting confused between the various specialized subclasses. For instance, calling typeParamsSubAnyRef(A, C2$mcLI$sp) might return the wrong specialized type param, e.g. C2$mcLZ$sp.A$sp (note the Z instead of the I). The fix is to cache with both the sym (A) and also the clazz (C2$mcLI$sp). This may resolve a whole host of other obscure AnyRef specialization problems.
Diffstat (limited to 'test/files/run/t5500.check')
-rw-r--r--test/files/run/t5500.check2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/t5500.check b/test/files/run/t5500.check
new file mode 100644
index 0000000000..19c6dda00e
--- /dev/null
+++ b/test/files/run/t5500.check
@@ -0,0 +1,2 @@
+C1$mcLI$sp
+C2$mcLI$sp