From 20192c84a98212ba2de6f52553b4ec7dafb6c6c3 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Tue, 4 May 2010 14:36:14 +0000 Subject: Revert r21790: "closes #3373, #3177: validity c... Revert r21790: "closes #3373, #3177: validity check of an implicit " value should consider the value as well as its accessor Revert r21792: " "sorry, last-minute edit broke build: re-added parens " will investigate how it broke and why my local pre-commit tests did not catch the failure... no review --- test/files/pos/t3373.scala | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 test/files/pos/t3373.scala (limited to 'test/files/pos/t3373.scala') diff --git a/test/files/pos/t3373.scala b/test/files/pos/t3373.scala deleted file mode 100644 index b4af3610bb..0000000000 --- a/test/files/pos/t3373.scala +++ /dev/null @@ -1,11 +0,0 @@ -class Entry(time: Long) { - def getTime: Long = time -} - -object Test { - def extractTime(e: Entry) = e.getTime - - implicit val orderEntries = new Ordering[Entry] { - def compare(first: Entry, second: Entry) = extractTime(first) compare extractTime(second) - } -} \ No newline at end of file -- cgit v1.2.3