aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t0082.scala
diff options
context:
space:
mode:
authorTobias Schlatter <tobias@meisch.ch>2014-03-20 20:23:02 +0100
committerTobias Schlatter <tobias@meisch.ch>2014-03-20 20:25:05 +0100
commite50646c21cbc842c1188fc876e16ea2b3e2a2ea3 (patch)
tree8355f0ef64102f569ebd970e49c2a591116d0b44 /tests/pos/t0082.scala
parenta4516eac1be98830c99ea48e9baedf022dfcb9f7 (diff)
downloaddotty-e50646c21cbc842c1188fc876e16ea2b3e2a2ea3.tar.gz
dotty-e50646c21cbc842c1188fc876e16ea2b3e2a2ea3.tar.bz2
dotty-e50646c21cbc842c1188fc876e16ea2b3e2a2ea3.zip
Minor improvements to tests (remove old comments)
Diffstat (limited to 'tests/pos/t0082.scala')
-rw-r--r--tests/pos/t0082.scala1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/pos/t0082.scala b/tests/pos/t0082.scala
index 2b365ca33..2a9e549b1 100644
--- a/tests/pos/t0082.scala
+++ b/tests/pos/t0082.scala
@@ -4,7 +4,6 @@ object Main {
def min0[A](less: (A, A) => Boolean, xs: List[A]): Option[A] = xs match {
case List() => None
case List(x) => Some(x)
-// case x :: Nil => Some(x)
case y :: ys => (min0(less, ys): @unchecked) match {
case Some(m) => if (less(y, m)) Some(y) else Some(m)
}