Fixed, thanks for the report.

On Mon, Feb 6, 2012 at 10:30 PM, Dave Sann <daves...@gmail.com> wrote:

> I tried to comment on JIRA - but am not sure if it was accepted.
>
> http://dev.clojure.org/jira/browse/CLJS-143
>
> There appears to still be an issue with this in the following scenario:
>
> (ns test
>   (:require
>     [cljs.reader :as reader]
>     )
>   )
>
> (defn log [x]
>   (.log js/console (pr-str x))
>   x
>   )
>
> (def data
>  {{:start 143  :end 144}  "data" }
>  )
>
> (log {:data data})
>
> (doseq [k (keys data)]
>   (let [ks (pr-str k)
>         kr (reader/read-string ks)]
>     (log  {:k      k
>            :v      (get data k)
>            :k-hash (hash k)
>            :read-k kr
>            :read-k-hash (hash kr)
>            :read-v (get data kr)}
>
>           ))
>   )
>
>
> My output:
>
> {:data {{:end 144, :start 143} "data"}}
> {:k {:end 144, :start 143}, :k-hash 40749209, :read-k {:start 143, :end
> 144}, :read-k-hash -1503612376, :read-v nil, :v "data"}
>
> The patch appears to have been applied on my clojurescript install.
>
> can this be confirmed?
>
> Dave
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to