diff options
author | schinz <schinz@epfl.ch> | 2005-01-17 14:22:44 +0000 |
---|---|---|
committer | schinz <schinz@epfl.ch> | 2005-01-17 14:22:44 +0000 |
commit | 6e578cf8bfa84a630ba8036b74a01e7ee20a28a8 (patch) | |
tree | 6b910c91e62a5d442219e9ad5ba942e97c119cfc | |
parent | 986b87a3be1febae98c2ff607a64b5cbd61131da (diff) | |
download | scala-6e578cf8bfa84a630ba8036b74a01e7ee20a28a8.tar.gz scala-6e578cf8bfa84a630ba8036b74a01e7ee20a28a8.tar.bz2 scala-6e578cf8bfa84a630ba8036b74a01e7ee20a28a8.zip |
- bug fix: made MapTo class public in order to ...
- bug fix: made MapTo class public in order to avoid run-time errors
(this used to be hidden by a bug in AddInterfaces which I fixed) -
removed trailing white spaces
-rw-r--r-- | sources/scala/collection/mutable/Map.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scala/collection/mutable/Map.scala b/sources/scala/collection/mutable/Map.scala index f5a58eb08b..b8c5ceb804 100644 --- a/sources/scala/collection/mutable/Map.scala +++ b/sources/scala/collection/mutable/Map.scala @@ -141,7 +141,7 @@ trait Map[A, B] with scala.collection.Map[A, B] with Scriptable[Message[Pair[A, */ def mappingToString(p: Pair[A, B]) = p._1.toString() + " -> " + p._2; - private class MapTo(key: A) { + class MapTo(key: A) { def ->(value: B): Unit = update(key, value); } } |