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

On-the-fly settings in REPL #9802

Open
scabug opened this Issue Jun 3, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@scabug
Copy link

scabug commented Jun 3, 2016

This isn't unreasonable:

$ scala
Welcome to Scala 2.11.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_60).
Type in expressions for evaluation. Or try :help.

scala> val x = "hi" ; "$x"
x: String = hi
res0: String = $x

scala> :se -Xlint:missing-interpolator

scala> val x = "hi" ; "$x"
<console>:13: warning: possible missing interpolator: detected interpolated identifier `$x`
        "$x"
        ^
x: String = hi
res1: String = $x

scala> :se -Xlint:-missing-interpolator

scala> val x = "hi" ; "$x"
<console>:13: warning: possible missing interpolator: detected interpolated identifier `$x`
        "$x"
        ^
x: String = hi
res2: String = $x
@scabug

This comment has been minimized.

Copy link
Author

scabug commented Jun 3, 2016

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

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

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