diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2007-02-12 10:54:23 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2007-02-12 10:54:23 +0000 |
commit | d7dc0ad355418a5d297f5baf269404d95a2976b2 (patch) | |
tree | 766f67699e54986b25cd0221959717cc07dcf1f9 /test/files/pos | |
parent | 258591edca98c8e6b1db1c49132dc93f2f249f5d (diff) | |
download | scala-d7dc0ad355418a5d297f5baf269404d95a2976b2.tar.gz scala-d7dc0ad355418a5d297f5baf269404d95a2976b2.tar.bz2 scala-d7dc0ad355418a5d297f5baf269404d95a2976b2.zip |
Fixed exhaustiveness warning
Diffstat (limited to 'test/files/pos')
-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) } } |