Hi Zubair,
I don't know the root cause of that, other than could be similar to
https://github.com/mfikes/planck/issues/158
But, ignoring that, in order to (require 'om.next), it will have to
(require-macros 'om.next) and if you look into om/next.clj, you'll see that it
requires cljs.core, referring to deftype, and other macros. In self-hosted
ClojureScript, om/next.clj will be compiled as ClojureScript, and that will
cause a problem because this is in a :require spec and not a :require-macros
spec.
Having said that, there is a JIRA http://dev.clojure.org/jira/browse/CLJS-1507
that might ultimately make the existing code compilable (because it would infer
that deftype is a macro and desugar things so that it appears in a
:refer-macros spec.)
- Mike
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.