summaryrefslogblamecommitdiff
path: root/test/files/neg/t4271.scala
blob: 46ae3ad9ec904d32cb2c1bb9c5da40d4936a64dd (plain) (tree)
1
2
3
4
5
6
7
8

                   
                                             



                                                 
                                               



                 
object foo {
  object Donotuseme
  implicit def Ensuring[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 ArrowAssoc[A](x: A) = Donotuseme
  3 to 5
  5 ensuring true
  3 -> 5
}