scala / collection-strawman

Implementation of the new Scala 2.13 Collections
Apache License 2.0
200 stars 72 forks source link

operation `SortedSet#to` has been renamed to `rangeTo` #546

Closed julienrf closed 6 years ago

julienrf commented 6 years ago

We should have a rewrite rule that fixes existing code bases, and we should mention this incompatibility in the migration notes.

Ichoran commented 6 years ago

Which operation to?

julienrf commented 6 years ago

In SortedSet. I’ve updated the issue title.

Ichoran commented 6 years ago

Then you should change from to rangeFrom also, for symmetry. Or switch to atMost and atLeast, or something.

szeiger commented 6 years ago

Fixed in https://github.com/scala/scala/pull/6537