Possible bug in CLJS `case` with quoted symbols

2012-09-07 Thread Shantanu Kumar
Hello, In Clojure 1.4.0 REPL I noticed this: user= (let [a 'a] (case a nil :nil ' :amp :none)) :none user= (let [a '] (case a nil :nil ' :amp :none)) :amp user= (let [a 'b] (case a nil :nil 'b :b :none)) :b In the CLJS Rhino REPL I saw this: ClojureScript:cljs.user (let [a 'a] (case a nil :nil

Re: Possible bug in CLJS `case` with quoted symbols

2012-09-07 Thread David Nolen
On Fri, Sep 7, 2012 at 5:26 AM, Shantanu Kumar kumar.shant...@gmail.com wrote: Hello, In Clojure 1.4.0 REPL I noticed this: user= (let [a 'a] (case a nil :nil ' :amp :none)) :none user= (let [a '] (case a nil :nil ' :amp :none)) :amp user= (let [a 'b] (case a nil :nil 'b :b :none)) :b

Re: Possible bug in CLJS `case` with quoted symbols

2012-09-07 Thread Shantanu Kumar
Looks like a bug. Thanks, I filed the issue here: http://dev.clojure.org/jira/browse/CLJS-376 Shantanu -- 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