summaryrefslogtreecommitdiff
path: root/test/files/pos/bug1439.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-06-12 02:25:26 +0000
committerPaul Phillips <paulp@improving.org>2011-06-12 02:25:26 +0000
commit58a147ae51c09105d0dd7e7fd3a471ac467a8d05 (patch)
tree32758064fb70793802e4d69dc4030eb0171ce713 /test/files/pos/bug1439.scala
parentb96094446302a59b850dbb7d4ad9c593e9dddd9b (diff)
downloadscala-58a147ae51c09105d0dd7e7fd3a471ac467a8d05.tar.gz
scala-58a147ae51c09105d0dd7e7fd3a471ac467a8d05.tar.bz2
scala-58a147ae51c09105d0dd7e7fd3a471ac467a8d05.zip
Don't issue unchecked warnings on higher-kinded...
Don't issue unchecked warnings on higher-kinded types. Closes #1439, review by moors.
Diffstat (limited to 'test/files/pos/bug1439.scala')
-rw-r--r--test/files/pos/bug1439.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/bug1439.scala b/test/files/pos/bug1439.scala
new file mode 100644
index 0000000000..68a7332b2a
--- /dev/null
+++ b/test/files/pos/bug1439.scala
@@ -0,0 +1,8 @@
+// no unchecked warnings
+class View[C[A]] { }
+
+object Test {
+ null match {
+ case v: View[_] =>
+ }
+}