Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-Iterators have iterator reuse warnings in scaladoc #11595

Closed
martijnhoekstra opened this issue Jun 27, 2019 · 1 comment

Comments

Projects
None yet
4 participants
@martijnhoekstra
Copy link

commented Jun 27, 2019

For example, the documentation of Vector#map has

Note
Reuse: After calling this method, one should discard the iterator it was called on, and use only the iterator that was returned. Using the old iterator is undefined, subject to change, and may result in changes to the new iterator as well.

at https://scala-lang.org/files/archive/api/2.13.0/scala/collection/immutable/Vector.html#map[B](f:A=%3EB):CC[B]

@Philippus

This comment has been minimized.

Copy link
Member

commented Jun 27, 2019

sounds similar to scala/scala#8007

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.