Skip to content

Spurious unclosed string literal warning in Repl #6659

@scabug

Description

@scabug

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"
   ^

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions