[Laszlo-dev] For Review: Change 20081228-ptw-2 Summary: Make DHTML debugger evaluator prefer expressions over statements
André Bargull
andre.bargull at udo.edu
Mon Dec 29 09:17:06 PST 2008
Approved.
On 12/29/2008 1:16 AM, P T Withington wrote:
> Change 20081228-ptw-2 by ptw at dueling-banjos.home on 2008-12-28
> 19:10:32 EST
> in /Users/ptw/OpenLaszlo/trunk
> for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Make DHTML debugger evaluator prefer expressions over statements
>
> Bugs Fixed:
> LPP-7485 Display of Objects and Arrays
>
> Technical Reviewer: a.bargull at intensis.de (pending)
> QA Reviewer: hminsky (pending)
>
> Details:
> Try evaluating the input in parens (which forces it to be an
> expression), before you evaluate it straight.
>
> Tests:
> lzx> {foo: [5, 'a']}
> «Object#31| {foo: 5,a}»
> lzx> var foo = 42;
> lzx> foo
> 42
> lzx> 3 + 7 =
> ERROR: SyntaxError: invalid assignment left-hand side
>
> Files:
> M WEB-INF/lps/lfc/debugger/platform/dhtml/LzDebug.js
>
> Changeset:
> http://svn.openlaszlo.org/openlaszlo/patches/20081228-ptw-2.tar
More information about the Laszlo-dev
mailing list