On Thu, Feb 2, 2012 at 5:02 PM, Benjamin Klüglein <
scheibenk...@googlemail.com> wrote:

> Hi folks,
>
> I wrote a small piece of Clojure code of which I thought it would use the
> ClojureScript subset  of Clojure, so that it could be compiled to
> JavaScript. But when I compile it (successfully) I get invalid JavaScript
> and I get an exception when running it in the browser.
>
> This seems to occur only when I use object destructuring within deftype. A
> small sample:
>

Destructuring is not currently supported on protocol fns. That's not valid
in Clojure either.

David

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