flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [FlexJS][XML]appending XMLLists
Date Tue, 10 May 2016 15:09:05 GMT


On 5/10/16, 8:03 AM, "Harbs" <harbs.lists@gmail.com> wrote:

>foo = foo.plus(bar);

OK, well in theory the compiler generated "foo" and is about to add
".concat(" so you would get "foo.concat(" then "bar" would get emitted.
Try replacing ".concat" with:

 " = "
 getWalker().walk(node.getLeftOperandNode()); // should re-output "foo"
 "; "
 getWalker().walk(node.getLeftOperandNode()); // should re-output "foo"
 ".plus("


Or something like that.  If that doesn't work I will try to look at it
later today.

-Alex

Mime
View raw message