ClojureScript

Different behaviour for read-string in clojure and clojurescript

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Declined
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Environment:
    Clojure 1.6.0
    ClojureScript 2280

Description

The following works in clojure: (read-string "{:weapons (:20)}")
But gives following error in cljs: "TypeError: Cannot read property '0' of null"

Activity

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: