[Laszlo-dev] For Review: Change 20071023-hqm-a Summary: add another check for method redefinition warnings

Donald Anderson dda at ddanderson.com
Wed Oct 24 11:20:58 PDT 2007


Approved.

On Oct 24, 2007, at 10:56 AM, Henry Minsky wrote:

> Change 20071023-hqm-a by hqm at IBM-2E06404CB67 on 2007-10-23 23:46:20  
> EDT
>     in /cygdrive/c/users/hqm/openlaszlo/trunk
>     for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: add another check for method redefinition warnings
>
> New Features:
>
> Make thecheck when a view definition overrides a non-overridable
> method, not just a in class definition
>
> Bugs Fixed: LPP-3910
>
> Technical Reviewer: dda
> QA Reviewer: pbr
> Doc Reviewer:
>
> Documentation:
>
> Release Notes:
>
> Details:
>
> The check for redefining non-overridable methods was only being done
> in class declarations.
> This adds the check into processing of regular view (node)  
> declarations.
>
>
>
> Tests:
>
> This should generate a warning about overriding the "call" method,
> which is declared
> as non-overridable in the base schema file lfc.lzx.
>
> <canvas width="100%" height="100%" debug="true">
>   <view>
>     <method name="call" />
>   </view>
> </canvas>
>
>
> Files:
>
> M      WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071023- 
> hqm-a.tar
>
>
> -- 
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com


--

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

Voice:  617-547-7881
Email:  dda at ddanderson.com
WWW:    http://www.ddanderson.com



More information about the Laszlo-dev mailing list