From 186f57ab4b1611820ad6d532eaafc7b12c6994cf Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sun, 22 Jul 2012 22:16:03 -0700 Subject: Improve unchecked warnings. Spurious test was not good. Better test avoids suppressing some legitimate warnings. Review by @moors. --- test/files/pos/t1439.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/pos/t1439.scala') diff --git a/test/files/pos/t1439.scala b/test/files/pos/t1439.scala index 68a7332b2a..0efcc74b65 100644 --- a/test/files/pos/t1439.scala +++ b/test/files/pos/t1439.scala @@ -2,7 +2,7 @@ class View[C[A]] { } object Test { - null match { + (null: Any) match { case v: View[_] => } } -- cgit v1.2.3