Scala Programming Language
  1. Scala Programming Language
  2. SI-6273

repl needs to be taught about string interpolation

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Scala 2.10.0-M7, Scala 2.10.0
    • Component/s: None
    • Labels:
      None

      Description

      scala> val x = """
           | bippy
           | bippy
           | """
      x: String = 
      "
      bippy
      bippy
      "
      
      scala> val x = s"""
      <console>:1: error: unclosed multi-line string literal
             val x = s"""
                      ^
      

        Activity

        Hide
        Josh Suereth added a comment -

        Bumping priority, since having a release with a brand spanking new feature that's not usable in the REPL seems to be an issue....

        Show
        Josh Suereth added a comment - Bumping priority, since having a release with a brand spanking new feature that's not usable in the REPL seems to be an issue....
        Show
        Paul Phillips added a comment - https://github.com/scala/scala/pull/1231
        Hide
        Grzegorz Kossakowski added a comment -

        Pull request mentioned by Paul has been merged.

        Show
        Grzegorz Kossakowski added a comment - Pull request mentioned by Paul has been merged.

          People

          • Assignee:
            Paul Phillips
            Reporter:
            Paul Phillips
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development