summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2007-06-12 08:43:12 +0000
committermihaylov <mihaylov@epfl.ch>2007-06-12 08:43:12 +0000
commit835fab52247cae811c2ef547f79dc121acc21e66 (patch)
treec941a9ed20521a96e5b961b0faf17ff525e32393
parenta7a87af828dae76ab869f8c7bd9a2ed79c93d08e (diff)
downloadscala-835fab52247cae811c2ef547f79dc121acc21e66.tar.gz
scala-835fab52247cae811c2ef547f79dc121acc21e66.tar.bz2
scala-835fab52247cae811c2ef547f79dc121acc21e66.zip
Moved Proxy as the last supertype of RichString...
Moved Proxy as the last supertype of RichString so it can inherit the forwarding of toString
-rw-r--r--src/library/scala/runtime/RichString.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/runtime/RichString.scala b/src/library/scala/runtime/RichString.scala
index 83751dab5a..241d96f303 100644
--- a/src/library/scala/runtime/RichString.scala
+++ b/src/library/scala/runtime/RichString.scala
@@ -14,7 +14,7 @@ package scala.runtime
import Predef._
-final class RichString(val self: String) extends Proxy with Seq[Char] with Ordered[String] {
+final class RichString(val self: String) extends Seq[Char] with Ordered[String] with Proxy {
// Ordered[String]
def compare(other: String) = self compareTo other