ClojureScript

RegExp objects print incorrectly

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Patch:
    Code and Test

Description

#"x" is currently printing as #</x/>

js/RegExp needs an IPrintable implementation: (-pr-seq [re _] (list "#\"" (.-source re) "\""))

Unfortunately, this is blocked by the same GClosure issue as http://dev.clojure.org/jira/browse/CLJS-68

  1. print-regex.patch
    04/Jun/12 6:10 PM
    4 kB
    Brandon Bloom
  2. print-regexp2.patch
    04/Jun/12 8:42 PM
    2 kB
    Brandon Bloom

Activity

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: