summaryrefslogtreecommitdiff
path: root/test/files/neg/sammy_expected.scala
blob: 8fc1f66ff741adaf9c30c4aa1be95a3c8b0eec4d (plain) (blame)
1
2
3
4
5
trait F[A, B] { def apply(x: A): B }

class MustMeetExpected {
  def wrong: F[Object, Int] = (x: String) => 1
}