From 0df28504f8676ba8736faa54e2540e4bc36e43d2 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 28 May 2009 16:27:13 +0000 Subject: 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. --- test/files/neg/bug900.check | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/files/neg/bug900.check') 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 ^ -- cgit v1.2.3