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
inconsistency in spec around stringLiterals #9557
Comments
Imported From: https://issues.scala-lang.org/browse/SI-9557?orig=1 |
@refried said: |
@som-snytt said (edited on Nov 16, 2015 11:30:57 PM UTC): val ```abc`def``` = 42 There is revised language at this change around "printable". I don't see a more recent nightly or 2.12 spec yet, but the source says this. Also conceivably, it could accept Backtick is not backslashable. |
@refried said: |
@dsbos said: So if the second form of non-terminal |
@som-snytt said: |
The spec says:
That seems fine. But what is
stringLiteral
?Section 1.3.5 says
This seems wrong because I don't need double quotes to make a back-quoted identifier.
seems wrong for the same reason.
What is a
stringLiteral
?Side question: which escape characters are allowed in the identifier string literal? Because it's some, but apparently not ```
Thanks!
The text was updated successfully, but these errors were encountered: