From 58a147ae51c09105d0dd7e7fd3a471ac467a8d05 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sun, 12 Jun 2011 02:25:26 +0000 Subject: Don't issue unchecked warnings on higher-kinded... Don't issue unchecked warnings on higher-kinded types. Closes #1439, review by moors. --- test/files/pos/bug1439.flags | 1 + test/files/pos/bug1439.scala | 8 ++++++++ test/files/pos/t1439.scala | 7 ------- 3 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 test/files/pos/bug1439.flags create mode 100644 test/files/pos/bug1439.scala delete mode 100644 test/files/pos/t1439.scala (limited to 'test/files') diff --git a/test/files/pos/bug1439.flags b/test/files/pos/bug1439.flags new file mode 100644 index 0000000000..779916d58f --- /dev/null +++ b/test/files/pos/bug1439.flags @@ -0,0 +1 @@ +-unchecked -Xfatal-warnings \ No newline at end of file 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[_] => + } +} diff --git a/test/files/pos/t1439.scala b/test/files/pos/t1439.scala deleted file mode 100644 index ae1fdd10b5..0000000000 --- a/test/files/pos/t1439.scala +++ /dev/null @@ -1,7 +0,0 @@ -class View[C[A]] {} - -object Test { - null match { - case v: View[_] => - } -} -- cgit v1.2.3