-
Notifications
You must be signed in to change notification settings - Fork 21
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
REPL does not consistently process unicode characters in comments. #10873
Comments
for those who haven't seen it before, the ur-ticket on comments and unicode escapes is #3220 |
repl's just too clever by half: scala> // \u000a System.out.println("Hello World!");
scala> println("I do say: ") // \u000a System.out.println("Hello World!");
I do say:
Hello World! |
ah, my (ancient) Welcome to Scala 2.12.6 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_161).
Type in expressions for evaluation. Or try :help.
scala> // \u000a System.out.println("Hello World!")
scala> println("I do say: ") // \u000a System.out.println("Hello World!")
<console>:2: error: illegal start of simple expression
;
^ |
One more datum:
so that bug is in the scary line-chopping logic in |
fixed, presumably by @martijnhoekstra's unicode-escape change in 2.13.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
However in the REPL:
Nothing prints.
The text was updated successfully, but these errors were encountered: