I'm still seeing super() calls being translated to

(arguments.callee.superclass ?
arguments.callee.superclass.prototype["constructor"] :
this.nextMethod(arguments.callee, "constructor")).call(this);

by the compiler. Can we get rid of the code that's doing this?


    public function LzEvent ( eventSender:* , eventName:* , d:* ){
        super();

===>

public function LzEvent (eventSender:*, eventName:*, d:*) {
(arguments.callee.superclass ?
arguments.callee.superclass.prototype["constructor"] :
this.nextMethod(arguments.callee, "constructor")).call(this);


On Dec 21, 2007 12:00 PM, Donald Anderson <[EMAIL PROTECTED]> wrote:
> Approved!
>
>
> On Dec 21, 2007, at 10:31 AM, P T Withington wrote:
>
> > [Henry, if you like I will just check this in for you to try]
> >
> > Change 20071221-ptw-3 by [EMAIL PROTECTED] on 2007-12-21
> > 10:27:38 EST
> >   in /Users/ptw/OpenLaszlo/devildog
> >   for http://svn.openlaszlo.org/openlaszlo/branches/devildog
> >
> > Summary: Permit super() calls
> >
> > Technical Reviewer: [EMAIL PROTECTED] (pending)
> > QA Reviewer: [EMAIL PROTECTED] (pending)
> >
> > Details:
> >
> >
> > Tests:
> >   Henry will try it
> >
> > Files:
> > M      WEB-INF/lps/server/src/org/openlaszlo/sc/ParseTreePrinter.java
> > M      WEB-INF/lps/server/sc/src/org/openlaszlo/sc/Parser.jjt
> >
> > Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071221-ptw-3.tar
>
>
> --
>
> Don Anderson
> Java/C/C++, Berkeley DB, systems consultant
>
> voice: 617-547-7881
> email: [EMAIL PROTECTED]
> www: http://www.ddanderson.com
>
>
>
>
>



-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to