[Laszlo-dev] Auto-generating constructors

Donald Anderson dda at ddanderson.com
Tue Jun 17 06:15:45 PDT 2008


Only partially imagined.  I think the code you are referring to is  
SWF9 only,
and it covers interstitial constructor calls.  SWF9Generator.java:  
createInterstitialConstructor()

On Jun 17, 2008, at 6:10 AM, P T Withington wrote:

> Don,
>
> I thought we had code in the js2 back-end to auto-generate a  
> constructor when the superclass had a non-default constructor (to  
> accept and pass the arguments).  Did I imagine that?
>
> Right now, the tag compiler is generating these constructor  
> trampolines for every user class, but they are unnecessary in js1;  
> so it would be nice if the js2 back-end could do this, rather than  
> conditionalizing the tag compiler.
>


--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-547-7881
email: dda at ddanderson.com
www: http://www.ddanderson.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20080617/231bcd82/attachment.html


More information about the Laszlo-dev mailing list