[Laszlo-dev] Re: For Review: Change 37790 Summary: Warn on bad method or event name for delegate

Sarah Allen sallen at laszlosystems.com
Thu Jan 26 09:35:28 PST 2006


Tucker,

Thanks for finding my obvious mistake and adding where the call came 
from.  For the record, the Debug warning can just include arguments.caller:
    Debug.warn('LzDelegate functionName must be a string in %w', 
arguments.caller);

Code reviewed.  Change approved.

Sarah

P T Withington wrote:

> Change 37790 by ptw at ptw-dev-two on 2006/01/26 08:07:53 *pending*
>
>     Summary: Warn on bad method or event name for delegate
>     
>     Bugs Fixed:
>     lpp-1430: 'need a warning when creating a delegate with function  
> name not quoted'
>     
>     Technical Reviewer: sallen (pending)
>     QA Reviewer: frisco (pending)
>     Doc Reviewer: n/a (pending)
>     
>     Details: Made Sarah's idea work.
>     
>     Tests: Test case gives a warning now
>
> Affected files ...
>
> ... //depot/lps-dev/WEB-INF/lps/lfc/events/LaszloEvents.as#14 edit
> ... //depot/lps-dev/test/bugs/lpp-1430.lzx#1 add
>
>



More information about the Laszlo-dev mailing list