summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-08-18 20:07:05 -0700
committerPaul Phillips <paulp@improving.org>2012-08-18 20:08:42 -0700
commitbef9b2ae3d45353ed3660462d5e5eb6c7a641ffa (patch)
tree3af750e86bbb1039f9cbaae61945ed3fb11cfb8b /test/files
parentaf19824ab993e5a4f9d09fe76793dbc7795432cf (diff)
downloadscala-bef9b2ae3d45353ed3660462d5e5eb6c7a641ffa.tar.gz
scala-bef9b2ae3d45353ed3660462d5e5eb6c7a641ffa.tar.bz2
scala-bef9b2ae3d45353ed3660462d5e5eb6c7a641ffa.zip
Fix for community build blocker.
As two character bugfixes go, this was a doozy. I will forego elaborating at length and offer generic instructions for elucidation: % git log --grep=tpeHK
Diffstat (limited to 'test/files')
-rw-r--r--test/files/pos/hk-match/a.scala5
-rw-r--r--test/files/pos/hk-match/b.scala1
2 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/hk-match/a.scala b/test/files/pos/hk-match/a.scala
new file mode 100644
index 0000000000..7144068f3c
--- /dev/null
+++ b/test/files/pos/hk-match/a.scala
@@ -0,0 +1,5 @@
+trait A {
+ type HKAlias[X] = List[X]
+
+ (null: Any) match { case f: Bippy[HKAlias] => f }
+}
diff --git a/test/files/pos/hk-match/b.scala b/test/files/pos/hk-match/b.scala
new file mode 100644
index 0000000000..f7d21f6383
--- /dev/null
+++ b/test/files/pos/hk-match/b.scala
@@ -0,0 +1 @@
+trait Bippy[E[X]]