diff options
author | Stefan Zeiger <szeiger@novocode.com> | 2016-03-08 14:49:00 +0100 |
---|---|---|
committer | Stefan Zeiger <szeiger@novocode.com> | 2016-03-23 15:23:20 +0100 |
commit | cb1a4524d2b34605232afa083dd43f0b7d39b7a7 (patch) | |
tree | c33f7ad67c64417627e5b10a13242173b08b7719 /test | |
parent | 696784054a5e3e39096f395b4757a0e466b37672 (diff) | |
download | scala-cb1a4524d2b34605232afa083dd43f0b7d39b7a7.tar.gz scala-cb1a4524d2b34605232afa083dd43f0b7d39b7a7.tar.bz2 scala-cb1a4524d2b34605232afa083dd43f0b7d39b7a7.zip |
Make some collection classes final or sealed
They were all annotated with `@deprecatedInheritance` in 2.11.0. Some
deprecated classes are moved to new source files in order to seal the
parent class. The package-private class `DoublingUnrolledBuffer` is
moved from `scala.collection.parallel.mutable` to
`scala.collection.mutable` in order to seal `UnrolledBuffer`.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/virtpatmat_exist1.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/files/pos/virtpatmat_exist1.scala b/test/files/pos/virtpatmat_exist1.scala index 6cad017b0b..1f24892489 100644 --- a/test/files/pos/virtpatmat_exist1.scala +++ b/test/files/pos/virtpatmat_exist1.scala @@ -1,5 +1,6 @@ import annotation.unchecked.{ uncheckedVariance=> uV } -import scala.collection.immutable.{ListMap, HashMap, ListSet, HashSet} +import scala.collection.immutable.{ListMap, ListSet} +import scala.collection.mutable.{HashMap, HashSet} object Test { class HashMapCollision1[A, +B](var hash: Int, var kvs: ListMap[A, B @uV]) extends HashMap[A, B @uV] |