Skip to content

Commit 1f75d92

Browse files
committed
Add test relating to implicits
1 parent cdc4eec commit 1f75d92

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/pos/implicits1.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,8 @@ object Implicits {
5454

5555
val xx: Int = (1: Byte)
5656

57+
// Problem with implicits over or types
58+
def useOrd[T: math.Ordering](xs: T*) = ()
59+
useOrd(Some(1), None)
60+
5761
}

0 commit comments

Comments
 (0)