ClojureScript

ClojureScript REPL needs error handling for the special functions

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: 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.

Activity

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: