diff options
author | Paul Phillips <paulp@improving.org> | 2009-05-28 16:27:13 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-05-28 16:27:13 +0000 |
commit | 0df28504f8676ba8736faa54e2540e4bc36e43d2 (patch) | |
tree | dc7310783241c6fb89013b249f757dff00d7035f /src/compiler | |
parent | cf59c4158269cfc833bcab53fe106c672bc11f8e (diff) | |
download | scala-0df28504f8676ba8736faa54e2540e4bc36e43d2.tar.gz scala-0df28504f8676ba8736faa54e2540e4bc36e43d2.tar.bz2 scala-0df28504f8676ba8736faa54e2540e4bc36e43d2.zip |
Further development of the Numeric and Ordering...
Further development of the Numeric and Ordering traits. Replaced Predef
implicits from everything => Ordered with a single implicit from
Ordering => Ordered.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/Settings.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/Settings.scala b/src/compiler/scala/tools/nsc/Settings.scala index 5d96a54f64..dd504e3781 100644 --- a/src/compiler/scala/tools/nsc/Settings.scala +++ b/src/compiler/scala/tools/nsc/Settings.scala @@ -397,7 +397,7 @@ object Settings // Ordered (so we can use TreeSet) def compare(that: Setting): Int = name compare that.name - def compareLists[T <% Ordered[T]](xs: List[T], ys: List[T]) = xs.sort(_ < _) == ys.sort(_ < _) + def compareLists[T <% Ordered[T]](xs: List[T], ys: List[T]): Boolean = xs.sort(_ < _) == ys.sort(_ < _) // Equality def eqValues: List[Any] = List(name, value) |