Approved.

(Erroneous) function expressions now show a different behaviour.
lzx> 42
42
lzx> (function (x) { return x.foo })(3)
42
lzx> (function (x) { return x + 3 })(3)
6

So basically the previous result is returned again. It works for valid function expressions. See LPP-8633 (debugger eval barfs on function expression in swf10) and LPP-8790 (SWF9/10: missing scope for function when using debug evaluator).


On 5/31/2010 3:22 AM, Henry Minsky wrote:
Change 20100530-hqm-T by [email protected] on 2010-05-30 21:00:47 EDT
     in /Users/hqm/openlaszlo/trunk
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: debugger eval broken in swf10

New Features:

Bugs Fixed: LPP_9059

Technical Reviewer: andre
QA Reviewer: max
Doc Reviewer: (pending)

Documentation:

Release Notes:

Overview:



Details:

New script compiler API requires as "compileType" property to be passed in


Tests:

debug eval works in swf10
smokecheck in swf10


Files:
M       WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9External.java
M       WEB-INF/lps/server/src/org/openlaszlo/compiler/Compiler.java

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100530-hqm-T.tar

Reply via email to