Details

    • Type: Improvement
    • Status: CLOSED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Scala 2.12.0-M5
    • Component/s: Repl / Interpreter
    • Labels:
      None

      Description

      It would be nice if this worked:

      scala> :pa
      // Entering paste mode (ctrl-D to finish)
       
      "3"
        .toInt
       
      // Exiting paste mode, now interpreting.
       
      res0: Int = 3
       
      scala> "3"
      res1: String = 3
       
      scala>   .toInt
      <console>:1: error: illegal start of definition
        .toInt
        ^
      

      As asked on SO

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: