summaryrefslogtreecommitdiff
path: root/test/files/pos/bug443.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/bug443.scala')
-rw-r--r--test/files/pos/bug443.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/bug443.scala b/test/files/pos/bug443.scala
index 5b83e9d2cb..5b5e3ea828 100644
--- a/test/files/pos/bug443.scala
+++ b/test/files/pos/bug443.scala
@@ -1,7 +1,7 @@
object Test {
def lookup(): Option[Pair[String, String]] =
- (null: Option[Pair[String, String]]) match {
+ ((null: Option[Pair[String, String]]) : @unchecked) match {
case Some(Pair(_, _)) =>
if (true)
Some(Pair(null, null))