summaryrefslogtreecommitdiff
path: root/test/files/neg/t4271.scala
blob: 50526c895834dc682bff85785e3fa3e8b58bbd04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
object foo {
  object Donotuseme
  implicit def any2Ensuring[A](x: A) = Donotuseme
  implicit def doubleWrapper(x: Int) = Donotuseme
  implicit def floatWrapper(x: Int) = Donotuseme
  implicit def intWrapper(x: Int) = Donotuseme
  implicit def longWrapper(x: Int) = Donotuseme
  implicit def any2ArrowAssoc[A](x: A) = Donotuseme
  3 to 5
  5 ensuring true
  3 -> 5
}