Skip to content
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
Open

On-the-fly settings in REPL #9802

scabug opened this issue Jun 3, 2016 · 1 comment

Comments

@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
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

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

No branches or pull requests

1 participant