We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Deprecate ALL the octals!
It was possibly an oversight that octal escape syntax was deprecated for plain literals but not for the library's standard interpolator.
It would be nice if at least the f-interpolator warned and suggested alternatives. (This is a follow-on to #8092 and #7292.)
An argument for consistency is that you can add or remove the interpolator from an argless interpolation and not be confused.
It would also be nice if this didn't fail this way:
scala> f"\" <console>:8: error: exception during macro expansion: scala.StringContext$InvalidEscapeException: invalid escape character at index 0 in "\"
https://groups.google.com/d/msg/scala-internals/Sn-qUOjEw7g/mDaeQlXR1MEJ
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-8266?orig=1 Reporter: @som-snytt Affected Versions: 2.11.0-M8
Sorry, something went wrong.
@som-snytt said: scala/scala#3511
som-snytt
No branches or pull requests
Deprecate ALL the octals!
It was possibly an oversight that octal escape syntax was deprecated for plain literals but not for the library's standard interpolator.
It would be nice if at least the f-interpolator warned and suggested alternatives. (This is a follow-on to #8092 and #7292.)
An argument for consistency is that you can add or remove the interpolator from an argless interpolation and not be confused.
It would also be nice if this didn't fail this way:
https://groups.google.com/d/msg/scala-internals/Sn-qUOjEw7g/mDaeQlXR1MEJ
The text was updated successfully, but these errors were encountered: