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

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