2008/12/8 Matt Revelle <[EMAIL PROTECTED]>

>
> I'm working on a patch to add support for calling the superclass'
> implementation of a method when overriding a method in Clojure with
> ns/:genclass.  This looks like it requires a modification of the
> InstanceMethodExpr class in clojure.lang.Compiler.  The proposed
> syntax would be: (. super/MethodFoo this args).  One issue is that
> using super/MethodFoo to refer to the superclass' method means that
> (.super/MethodFoo this args) wouldn't work without more Parser changes.
>
> I'm close to finishing this, but would like to get feedback before
> spending more time.  Thoughts?
>

Interesting.   I was actually looking for this functionality the other day.
The form you describe is almost exactly what I would expect.

I have found that the new (:gen-class) post AOT leads quite naturally to a
OOP style of programming when interacting Qt-Jambi.   I'm torn as to whether
this is a good or a bad thing (it may be neither, just a reality).
Realising this certainly made doing this kind of work more intuitive - and
(super) would actually solve some problems for me.

-- 
Geoffrey Teale
Freelance Software and Technology Consultant
Munich, Germany

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