.Bill Smith a écrit :
> The genclass documentation says, "Static methods can be specified with
> #^{:static true} in the signature's metadata." I thought that would
> mean this:
>
> (ns tango.test.unit.StaticTest
> (:gen-class
> :methods [[f [] #^{:static true} void ]]))
>
>
Try:
(ns tango.test.unit.StaticTest
(:gen-class
:methods [#^{:static true} [f [] void ]]))
(untested but that's where gen-class expects the metadata to be/)
HTH
Christophe
--
Professional: http://cgrand.net/ (fr)
On Clojure: http://clj-me.blogspot.com/ (en)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---