Hi,

as briefly mentioned on IRC, I've uploaded a patch to the files-
section of
the group (http://clojure.googlegroups.com/web/genclass-exposes-
fix.patch)
that fixes the behaviour of gen-class when a field to be exposed via
:exposes is not declared in the immediate superclass, but somewhere in
the ancestors.

I.e. given the following hierarchy:
  A (has field 'someField') <- B <- (gen-class 'user.C :extends
B :exposes '{someField {:get getSomeField}})
gen-class now finds the field in A instead of throwing a
NoSuchFieldException (such an exception will now only be thrown when
none of the ancestors contains the field that is to be exposed).

--
Philipp M. Frank <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to