-
Notifications
You must be signed in to change notification settings - Fork 21
deprecate StringLike.linesIterator, we have StringLike.lines for that #4997
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
Comments
Imported From: https://issues.scala-lang.org/browse/SI-4997?orig=1 |
@paulp said: |
@adriaanm said: |
@Ichoran said: |
@soc said: |
@SethTisue said: |
@paulp said: |
@som-snytt said: I know Rex will make the right naming choices. OK, since I made the joke, p.outputLines(ending = Auto) [or Newline or EOL] |
@Ichoran said: |
@Ichoran said: |
undeprecated for 2.12.7 because of #11125 |
I'd like to add how wise paulp's comment was about naming. Edit: |
As it turns out, lame names don't get into conflicts. |
StringLike.scala has:
The methods are identical. Surely linesIterator should be deprecated and tell people to use lines instead?
The text was updated successfully, but these errors were encountered: