diff options
author | Paul Phillips <paulp@improving.org> | 2011-06-23 06:13:55 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-06-23 06:13:55 +0000 |
commit | b924c4142de1ca6525a3d5e57ecfb7a345dd9f89 (patch) | |
tree | 6d098958841f8c842b1cfda00e032bf1f96e2f2e /test/files | |
parent | 8ba9b511c2b11d0514013bb1e18cbc8a7b9e5f5c (diff) | |
download | scala-b924c4142de1ca6525a3d5e57ecfb7a345dd9f89.tar.gz scala-b924c4142de1ca6525a3d5e57ecfb7a345dd9f89.tar.bz2 scala-b924c4142de1ca6525a3d5e57ecfb7a345dd9f89.zip |
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.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/neg/bug876.check | 2 |
1 files changed, 1 insertions, 1 deletions
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 |