Closed lrytz closed 6 years ago
While we're at it: 2.12 also provides -
(two overloads, one with varargs), and --
.
(and for collection.Map)
Also see https://github.com/lampepfl/dotty/pull/4311. We shouldn't use varargs for symbolic operators going forward but it's OK for deprecated methods.
https://github.com/scala/collection-strawman/commit/87b27654d4a5bc811ec957114316f8c596733ec1 added a deprecated
+
method tocollection.Set
(also suggested in https://github.com/scala/collection-strawman/issues/375), but only a version taking a single parameter. In 2.12 there's an overload with varags, allowings + (1, 2, 3)
. Should we add that (deprecated) overload?