summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2007-02-12 10:54:23 +0000
committerIulian Dragos <jaguarul@gmail.com>2007-02-12 10:54:23 +0000
commitd7dc0ad355418a5d297f5baf269404d95a2976b2 (patch)
tree766f67699e54986b25cd0221959717cc07dcf1f9 /test
parent258591edca98c8e6b1db1c49132dc93f2f249f5d (diff)
downloadscala-d7dc0ad355418a5d297f5baf269404d95a2976b2.tar.gz
scala-d7dc0ad355418a5d297f5baf269404d95a2976b2.tar.bz2
scala-d7dc0ad355418a5d297f5baf269404d95a2976b2.zip
Fixed exhaustiveness warning
Diffstat (limited to 'test')
-rw-r--r--test/files/pos/bug082.scala1
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)
}
}