summaryrefslogtreecommitdiff
path: root/test/files/pos/t5769.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-05-08 00:04:21 -0700
committerPaul Phillips <paulp@improving.org>2012-05-08 00:06:38 -0700
commit8e88e5b214ab365a268ab6bd6e53c4aa657ec5d0 (patch)
treee8518a929d16f6d161cb242af7ae71aca496a5e5 /test/files/pos/t5769.scala
parente982596149800f14a8a122f1f1a3540b95af7411 (diff)
downloadscala-8e88e5b214ab365a268ab6bd6e53c4aa657ec5d0.tar.gz
scala-8e88e5b214ab365a268ab6bd6e53c4aa657ec5d0.tar.bz2
scala-8e88e5b214ab365a268ab6bd6e53c4aa657ec5d0.zip
Fix for aliasing bug in reifier.
Closes SI-5769.
Diffstat (limited to 'test/files/pos/t5769.scala')
-rw-r--r--test/files/pos/t5769.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/t5769.scala b/test/files/pos/t5769.scala
new file mode 100644
index 0000000000..723d37bfee
--- /dev/null
+++ b/test/files/pos/t5769.scala
@@ -0,0 +1,8 @@
+// a.scala
+
+class A {
+ type AI = Array[Int]
+
+ def f1 = arrayTag[Array[Int]]
+ def f2 = arrayTag[AI]
+} \ No newline at end of file