Re: gen-class for methods returning own class for chained calls

2011-01-08 Thread Alyssa Kwan
N/m, this is a known issue. http://dev.clojure.org/jira/browse/CLJ-84 On Jan 8, 11:23 am, Alyssa Kwan 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]

gen-class for methods returning own class for chained calls

2011-01-08 Thread Alyssa Kwan
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 t