module extension
Marcus G. Daniels
mgd@swarm.org
Fri Nov 24 12:04:00 GMT 2000
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()").
More information about the Kawa
mailing list