Uploaded image for project: 'Scala Programming Language'
  1. Scala Programming Language
  2. SI-6659

Spurious unclosed string literal warning in Repl

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: Scala 2.10.0-RC2
    • Fix Version/s: None
    • Component/s: Repl / Interpreter
    • Labels:
      None

      Description

      Tab completion works fine on a string literal:

      Welcome to Scala version 2.10.0-RC2 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_37).
      Type in expressions to have them evaluated.
      Type :help for more information.
       
      scala> "foo".s
      split         startsWith    subSequence   substring     
      

      But if the string contains a comma:

      scala> "foo,bar".s<console>:1: error: unclosed string literal
      bar"
         ^
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                paulbutcher Paul Butcher
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: