[Laszlo-dev] Auto-generating constructors

P T Withington ptw at pobox.com
Tue Jun 17 03:10:52 PDT 2008


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.



More information about the Laszlo-dev mailing list