From 7b3babe1b6d12df0ffabc8ca1a0fbfe544318145 Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Wed, 13 Jun 2018 18:19:06 +0900 Subject: [PATCH] add deprecated DefaultMap in immutable package object --- src/library/scala/collection/immutable/package.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/library/scala/collection/immutable/package.scala b/src/library/scala/collection/immutable/package.scala index f3507a7bb192..7f792fda0071 100644 --- a/src/library/scala/collection/immutable/package.scala +++ b/src/library/scala/collection/immutable/package.scala @@ -11,4 +11,7 @@ package object immutable { type Traversable[+X] = Iterable[X] @deprecated("Use Iterable instead of Traversable", "2.13.0") val Traversable = Iterable + + @deprecated("Use Map instead of DefaultMap", "2.13.0") + type DefaultMap[K, +V] = scala.collection.immutable.Map[K, V] }