I have a working application that I've been developing using Clojure 1.8.0, and just tried it with 1.9.0-alpha14 on it. This generated a bunch of errors that look something like this:
In: [3 :methods 32 2] val: java.lang.Object fails spec: :clojure.core.specs/method at: [:args :clauses :gen-class :options :methods :return-type] predicate: simple-symbol? I think this particular error means that within element 3 of my ns statement, at element 2 of element 32 of the val of :methods, java.lang.Object doesn't satisfy simple-symbol? because it's not a "symbol without a namespace" (from the docstring). Is that correct? Element 32 is the first line of my :methods sequence that specifies a return value other than void or a primitive Clojure type: [domNumKSnipes [] java.lang.Object] That's exactly the signature that I need for the Java library that's going to use my Clojure namespace. Is this a bug in the new syntax checking for gen-class, or is there some other way that I should use use gen-class :methods to specify a non-primitive return type for a function that I want to expose to Java classes? Thanks. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
