Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Scala 2.12.0-M4
    • Fix Version/s: Backlog
    • Component/s: Repl / Interpreter
    • Labels:

      Description

      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
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              apm A. P. Marki
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: