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

REPL freezes with par in for comprehension expression

    Details

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

      Windows 7 64-bit

      Description

      REPL freezes with par in for comprehension expression:

      For example, you can type in REPL is standard mode:
      var count = 0
      for (i <- 1 to 10 par) count += 1 // after this line REPL freezes
      println(count) // no output

      But if one type this sample in :paste mode - it's OK. (see attachment)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sinedanat Eduard Sinelnikov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: