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







                                     
trait IntConsumer {
  def consume(x: Int): Unit
}

object Test {
  def anyConsumer(x: Any): Unit = ???
  val f: IntConsumer = anyConsumer
}