This is the mail archive of the kawa@sources.redhat.com 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]

Re: module extension



MD> I'm not sure I understand.  In the previous example, suppose that
MD> TestbaseSimple's constructor had an "int foo" argument.  Why wouldn't
MD> syntax like "(make <testSimple> 1)" be adequate?

PB> Because that is the Kawa syntax for 'new testSimple(1)' and hence
PB> ambiguous.  You could do:

PB> (define (<init>) (super 1))

I'd be happy with that, simply because this is a blocker for me.  ;-)
But it looks like "<" and ">" get mangled, and that this construct
doesn't result in a new constructor (instead it is "$LsInit$Gr()").

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