[Laszlo-dev] For Review: Change 20080317-ptw-d Summary: Don't, let a re-declared attribute clobber an inherited one

André Bargull a.bargull at intensis.de
Tue Mar 18 09:49:55 PDT 2008


The change for LzText will resolve LPP-5351, too.

> [I think this is an important change to get in.  LzPix seems to work  
> for me in SWF with this.  Still broken in DHTML, but not totally so...]
>
> Change 20080317-ptw-d by ptw at dueling-banjos.local on 2008-03-17  
> 20:01:31 EDT
>      in /Users/ptw/OpenLaszlo/ringding-clean
>      for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Don't let a re-declared attribute clobber an inherited one
>
> Bugs Fixed:
> LPP-5614 'compiler must not redeclare instance variables in
> subclasses' (partial: for JS1)
>
> Technical Reviewer: hqm (pending)
> QA Reviewer: max (pending)
>
> Details:
>      LzMessage:  Be more careful testing for node filenames
>
>      LzNode: Don't merge instances in the attr list!
>
>      LzText: Be more careful computing toString.
>
>      LazszloEvents: Better test for declared events.  Move debug name
>      earlier so it shows up in the constructor.
>
>      Class: Don't clobber an inherited attribute with a declared  
> attribute.
>
> Tests:
>      I see fewer undefined property warnings in the animation example.
>
> Files:
> M      WEB-INF/lps/lfc/debugger/LzMessage.lzs
> M      WEB-INF/lps/lfc/core/LzNode.lzs
> M      WEB-INF/lps/lfc/views/LzText.lzs
> M      WEB-INF/lps/lfc/events/LaszloEvents.lzs
> M      WEB-INF/lps/lfc/compiler/Class.lzs
>
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080317-ptw-d.tar



More information about the Laszlo-dev mailing list