diff options
author | Paul Phillips <paulp@improving.org> | 2012-07-22 22:16:03 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-07-22 22:23:08 -0700 |
commit | 186f57ab4b1611820ad6d532eaafc7b12c6994cf (patch) | |
tree | cb1acbb67296adf9056fb82cda7bb80632235df4 /test/files/pos/t1439.scala | |
parent | 078a1c5fae09970d22b886831e36745b7f7e25db (diff) | |
download | scala-186f57ab4b1611820ad6d532eaafc7b12c6994cf.tar.gz scala-186f57ab4b1611820ad6d532eaafc7b12c6994cf.tar.bz2 scala-186f57ab4b1611820ad6d532eaafc7b12c6994cf.zip |
Improve unchecked warnings.
Spurious test was not good. Better test avoids suppressing
some legitimate warnings. Review by @moors.
Diffstat (limited to 'test/files/pos/t1439.scala')
-rw-r--r-- | test/files/pos/t1439.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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[_] => } } |