val ls: List[Int] = null
/*start*/(ls.collect){ case x => x }/*end*/

//List[Int]
object ls {
  def collect[A](x: PartialFunction[Int, A]): A = null
}
/*start*/(ls.collect){ case x => x }/*end*/

//Int
Fix the test case from last commit, _really_ closing SCL-2763.
Fix the test case from last commit, _really_ closing SCL-2763.
