summaryrefslogtreecommitdiff
path: root/test/files/neg/bug900.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-05-28 16:27:13 +0000
committerPaul Phillips <paulp@improving.org>2009-05-28 16:27:13 +0000
commit0df28504f8676ba8736faa54e2540e4bc36e43d2 (patch)
treedc7310783241c6fb89013b249f757dff00d7035f /test/files/neg/bug900.check
parentcf59c4158269cfc833bcab53fe106c672bc11f8e (diff)
downloadscala-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/neg/bug900.check')
-rw-r--r--test/files/neg/bug900.check4
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
^