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

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

//List[Int]
--- 
+++ 
@@ -1,4 +1,6 @@
-val ls: List[Int] = null
+object ls {
+  def collect[A](x: PartialFunction[Int, A]): A = null
+}
 /*start*/(ls.collect){ case x => x }/*end*/
 
-//List[Int]
+//Int
Fix the test case from last commit, _really_ closing SCL-2763.
