summaryrefslogtreecommitdiff
path: root/test/files/neg/sammy_error_exist_no_crash.scala
blob: 667b4db7635e442d0032f2b188a82afabbebe2a0 (plain) (blame)
1
2
3
4
5
6
trait F[T] { def apply(s: T): Int }

object NeedsNiceError {
  def bar(x: F[_ >: String]) = ???
  bar(_.parseInt)
}