From f9550c6ab8b72221ff68bbadcbcc423ebd37f4d5 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Fri, 8 Feb 2013 15:05:03 -0800 Subject: [nomaster] Revert "Fixes SI-6521, overrides Range#head to be faster" This reverts commit a557a973608a75c7a02f251bbcf49fe6f6b6655e. This is necessary to maintain binary compatibility with 2.10.0. Mima says: matchName="scala.collection.immutable.Range.head" problemName=IncompatibleResultTypeProblem The bridge method appeared because result is now Int, whereas the super-method's result type erases to Object --- bincompat-forward.whitelist.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bincompat-forward.whitelist.conf') diff --git a/bincompat-forward.whitelist.conf b/bincompat-forward.whitelist.conf index 28c8a33fa2..1ff6cc6012 100644 --- a/bincompat-forward.whitelist.conf +++ b/bincompat-forward.whitelist.conf @@ -21,10 +21,10 @@ filter { problemName=MissingMethodProblem }, # TODO: revert a557a97360: bridge method appeared because result is now Int but the super-method's result type erases to Object - { - matchName="scala.collection.immutable.Range.head" - problemName=IncompatibleResultTypeProblem - }, + # { + # matchName="scala.collection.immutable.Range.head" + # problemName=IncompatibleResultTypeProblem + # }, # TODO: revert 0b92073a38 2aa66bec86: SI-4664 [Make scala.util.Random Serializable] Add test case { matchName="scala.util.Random" -- cgit v1.2.3