This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Syntax for calling super implementation when overriding a method


Hello Per,

I see that there's syntax (this) for referring to the current instance.

When I'm defining a class hierarchy, and I'd like to override a method in a
subclass, is there a similar syntax, i.e. (super)?

For now, I'm doing this (superclass:method instance ...), but it'd be nice
not having to explicitly name the superclass.


Thanks!

-- 
Duncan.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]