summaryrefslogtreecommitdiff
path: root/test/files/pos
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-07-22 22:16:03 -0700
committerAdriaan Moors <adriaan.moors@epfl.ch>2012-07-23 09:09:05 +0200
commit100d82697b2ec747cfc955a9869b8c3d2900f1a2 (patch)
tree60bbc2115a672a8cc3c87732dda31481a5d1bdf3 /test/files/pos
parent7bd4497c0ab0e7b2536aa01ed5ab6fe545685194 (diff)
downloadscala-100d82697b2ec747cfc955a9869b8c3d2900f1a2.tar.gz
scala-100d82697b2ec747cfc955a9869b8c3d2900f1a2.tar.bz2
scala-100d82697b2ec747cfc955a9869b8c3d2900f1a2.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')
-rw-r--r--test/files/pos/t1439.scala2
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[_] =>
}
}