From fbeceb8f38f0a02bbfcc03ddbb0aea15dfa2f63a Mon Sep 17 00:00:00 2001 From: Simon Ochsenreither Date: Mon, 12 Mar 2012 17:20:06 +0100 Subject: Removed "Todo: test" where a test exists. - Renamed t960 to a more sensible name, because SI-960 is not related to the test and I couldn't find a ticket number. - Some minor fixes to @deprecated like switched or missing versions. --- test/files/neg/t960.check | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 test/files/neg/t960.check (limited to 'test/files/neg/t960.check') diff --git a/test/files/neg/t960.check b/test/files/neg/t960.check deleted file mode 100644 index 603b1cb032..0000000000 --- a/test/files/neg/t960.check +++ /dev/null @@ -1,13 +0,0 @@ -t960.scala:18: error: ambiguous reference to overloaded definition, -both method unapply in object List of type [a](xs: List[a])Option[Null] -and method unapply in object List of type [a](xs: List[a])Option[(a, List[a])] -match argument types (List[a]) - case List(x, xs) => 7 - ^ -t960.scala:22: error: cannot resolve overloaded unapply - case List(x, xs) => 7 - ^ -t960.scala:12: error: method unapply is defined twice in t960.scala - def unapply[a](xs: List[a]): Option[Null] = xs match { - ^ -three errors found -- cgit v1.2.3