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 paste mode is broken #10226

Closed
scabug opened this Issue Mar 14, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@scabug
Copy link

scabug commented Mar 14, 2017

Pasting with custom prompt is supposed to work.

$ scala -Dscala.repl.prompt="%nevil scala> "
Welcome to Scala 2.12.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_111).
Type in expressions for evaluation. Or try :help.

evil scala> 42
res0: Int = 42

evil scala> evil scala> 42
<console>:1: error: ';' expected but integer literal found.
evil scala> 42
            ^

evil scala> res0: Int = 42
<console>:1: error: ';' expected but '=' found.
res0: Int = 42
          ^

evil scala> 
@scabug

This comment has been minimized.

Copy link
Author

scabug commented Mar 14, 2017

Imported From: https://issues.scala-lang.org/browse/SI-10226?orig=1
Reporter: @som-snytt
Affected Versions: 2.12.1

@scabug

This comment has been minimized.

Copy link
Author

scabug commented Mar 14, 2017

@som-snytt said:
It was the color. And everybody loves color. Respectively, colour, couleur.

scala/scala#5777

@scabug scabug closed this Mar 15, 2017

@scabug scabug added the repl label Apr 7, 2017

@scabug scabug added this to the 2.12.2 milestone Apr 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment