[Laszlo-dev] For Review: Change 20080304-dda-Q Summary: In dependency calculation function, use bracket syntax rather than cast

Donald Anderson dda at ddanderson.com
Tue Mar 4 07:43:36 PST 2008


Change 20080304-dda-Q by dda at lester.local on 2008-03-04 10:32:20 EST
     in /Users/dda/laszlo/src/svn/openlaszlo/trunk
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: In dependency calculation function, use bracket syntax rather  
than cast

New Features:

Bugs Fixed: LPP-5335

Technical Reviewer: ptw (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
     Previously, the new Compiler.dependenciesForExpression would
     produce an expression like:

       obj.hasOwnProperty("$lsc$Fcn_dependencies") ? (obj cast Object). 
$lsc$Fcn_dependencies(this, obj, arg1)

     For consistency with other cases that must do 'typeless'  
references, this has been changed
     to use the bracket notation:

       obj.hasOwnProperty("$lsc$Fcn_dependencies") ? obj['$lsc 
$Fcn_dependencies'](this, obj, arg1)

Tests:
    Checked regressions:  (smokecheck, weather, lzpix) x (swf8, dhtml)
    The feature itself cannot be easily checked until this function is  
used
    within the new constraint framework.

Files:
M      WEB-INF/lps/server/src/org/openlaszlo/sc/ReferenceCollector.java

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080304-dda-Q.tar



--

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