Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Test case closes SI-4273.

  • Loading branch information...
commit 5aebaac08a0debfdc366330937e3a8ecf6892f78 1 parent 278a225
Paul Phillips paulp authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 test/files/pos/t4273.scala
8 test/files/pos/t4273.scala
View
@@ -0,0 +1,8 @@
+class A {
+ implicit def compareComparables[T](x: T)(implicit ord: Ordering[T]) = new ord.Ops(x)
+
+ class Bippy
+ implicit val bippyOrdering = new Ordering[Bippy] { def compare(x: Bippy, y: Bippy) = util.Random.nextInt }
+
+ (new Bippy) < (new Bippy)
+}
Please sign in to comment.
Something went wrong with that request. Please try again.