aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/i2071.scala
blob: 1855dccf497372b1ae6074e01c175de15f4940fa (plain) (tree)
1
2
3
4
5
6
7






                                       
object Test {
  type PF[A, B] = PartialFunction[A, B]

  val f: PF[Int, String] = {
    case i => "bar"
  }
}