diff options
-rw-r--r-- | src/library/scala/collection/immutable/Map.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library/scala/collection/immutable/Map.scala b/src/library/scala/collection/immutable/Map.scala index c295c19363..69e1f38548 100644 --- a/src/library/scala/collection/immutable/Map.scala +++ b/src/library/scala/collection/immutable/Map.scala @@ -34,6 +34,7 @@ trait Map[A, +B] extends Iterable[(A, B)] self.asInstanceOf[immutable.Map[T, U]] /** The same map with a given default function. + * Note: `get`, `contains`, `iterator`, `keys`, etc are not affected by `withDefault`. * * Invoking transformer methods (e.g. `map`) will not preserve the default value. * |