diff options
-rw-r--r-- | test/files/pos/bug082.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/pos/bug082.scala b/test/files/pos/bug082.scala index a2a36bcd65..af57d3beff 100644 --- a/test/files/pos/bug082.scala +++ b/test/files/pos/bug082.scala @@ -7,6 +7,7 @@ object Main { // case x :: Nil => Some(x) case y :: ys => min0(less, ys) match { case Some(m) => if (less(y, m)) Some(y) else Some(m) + case None => Some(y) } } |