summaryrefslogblamecommitdiff
path: root/test/files/pos/ticket2201.scala
blob: 275867b88e9dbf00585347d5406266ae99c0e2b6 (plain) (tree)
1
2
3
4
5
6
7
8







                                                    
class Test
object Test { implicit def view(x : Test) = 0 }

object Call {
  def call(implicit view : Test => Int) = view(null)
  call
  call
}