N/m, this is a known issue. http://dev.clojure.org/jira/browse/CLJ-84
On Jan 8, 11:23 am, Alyssa Kwan <alyssa.c.k...@gmail.com> wrote: > Hi everyone! > > I'm having trouble getting the following to compile from "lein > compile": > > (ns foo.Bar > (:gen-class > :methods [[chain [] foo.Bar]])) > > (defn -chain [this] > this) > > My project.clj has foo.Bar declared as a :namespace. > > Perhaps I'm not understanding the compile error. Is there a way to > declare that a method of a gen-class returns an instance of itself? > > Thanks! > Alyssa -- 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