Uploaded image for project: 'ClojureScript'
  1. CLJS-979

ClojureScript REPL needs error handling for the special functions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Completed
    • Affects versions: None
    • Fix versions: None
    • Labels:
      None
    • Environment:

      ClojureScript 2688

      Description

      Currently the the special functions are not run int a try catch block. This creates a brittle repl that will fail is someone trys to require a namespace that doesn't exist or execute any of the special functions with error causing arguments.

      The following fail and terminate the repl loop.
      (require 'ex) where ex doesn't exist
      (in-ns '5) causes an infinite loop.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bhauman Bruce Hauman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: