Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: Scala 2.11.7
    • Fix Version/s: None
    • Component/s: Repl / Interpreter
    • Labels:

      Description

      Welcome to Scala version 2.11.7 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_45).
      Type in expressions to have them evaluated.
      Type :help for more information.
       
      scala> val `1` = "foo"
      <console>:5: error: ';' expected but double literal found.
        lazy val $result = 1
                                               ^
      <console>:10: error: ')' expected but double literal found.
       + "1: String = " + scala.runtime.ScalaRunTime.replStringOf(1, 1000)
                                                                                      ^
      <console>:13: error: ')' expected but '}' found.
        }
        ^
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                atry 杨博
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: