From b924c4142de1ca6525a3d5e57ecfb7a345dd9f89 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 23 Jun 2011 06:13:55 +0000 Subject: Overrode contains and apply in mutable.HashMap ... Overrode contains and apply in mutable.HashMap to avoid allocating an unnecessary Some on every call to either of them. Fruit looks a little better defended in immutable.HashMap, so I deleted a bunch of old debugging code instead. Closes #4469, no review. --- test/files/neg/bug876.check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/neg') diff --git a/test/files/neg/bug876.check b/test/files/neg/bug876.check index 85522423a8..f72cc969c2 100644 --- a/test/files/neg/bug876.check +++ b/test/files/neg/bug876.check @@ -1,4 +1,4 @@ -bug876.scala:25: error: too many arguments for method apply: (key: AssertionError.A)manager.B in trait MapLike +bug876.scala:25: error: too many arguments for method apply: (key: AssertionError.A)manager.B in class HashMap assert(manager.map(A2) == List(manager.map(A2, A1))) ^ one error found -- cgit v1.2.3