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 /test/files | |
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 'test/files')
-rw-r--r-- | test/files/neg/bug900.check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/bug900.check b/test/files/neg/bug900.check index 3ba577bbcd..778bce7c9f 100644 --- a/test/files/neg/bug900.check +++ b/test/files/neg/bug900.check @@ -2,8 +2,8 @@ bug900.scala:4: error: type mismatch; found : Foo.this.x.type (with underlying type Foo.this.bar) required: AnyRef Note that implicit conversions are not applicable because they are ambiguous: - both method any2stringadd in object Predef of type (Any)scala.runtime.StringAdd - and method any2ArrowAssoc in object Predef of type [A](A)ArrowAssoc[A] + both method orderingToOrdered in object Predef of type [T](T)(implicit Ordering[T])Ordered[T] + and method any2stringadd in object Predef of type (Any)scala.runtime.StringAdd are possible conversion functions from Foo.this.x.type to AnyRef def break(): x.type ^ |