On Aug 29, 7:04 pm, David Nolen <dnolen.li...@gmail.com> wrote:
> On Wed, Aug 29, 2012 at 7:07 AM, Moritz Ulrich <mor...@tarn-vedra.de> wrote:
>
> > Shantanu Kumar writes:
>
> >> Hi,
>
> >> I noticed that on the Clojure REPL, `format` works fine:
>
> >> user=> (format "foo%s" :s)
> >> "foo:s"
> >> user=> (format "foo%s" 's)
> >> "foos"
>
> >> However, on the CLJS REPL (Rhino), I get this:
>
> >> ClojureScript:cljs.user> (format "foo%s" :s)
> >> "foo 's"
> >> ClojureScript:cljs.user> (format "foo%s" 's)
> >> "foo 's"
>
> >> Wanted to first confirm this is a bug before filing a ticket.
>
> >> Shantanu
>
> > This seems like a bug to me. It's caused by an implementation detail of
> > ClojureScript (keywords and symbols are string starting with a specific
> > UTF8 byte sequence).
>
> > --
> > Moritz Ulrich
>
> Yep, a bug.

OK, I filed the bug: http://dev.clojure.org/jira/browse/CLJS-363

Screwed up the formatting though, and seems I can't edit the issue
anymore.

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 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