Skip to content

Commit

Permalink
Merge pull request scala#6787 from xuwei-k/immutable-DefaultMap
Browse files Browse the repository at this point in the history
add deprecated DefaultMap in immutable package object
  • Loading branch information
dwijnand authored Jun 15, 2018
2 parents 76c4ef4 + 7b3babe commit 5a0a36a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/library/scala/collection/immutable/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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]
}

0 comments on commit 5a0a36a

Please sign in to comment.