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] Runtime error when setting a property to a constant value
Date Thu, 05 Jan 2017 17:46:03 GMT

On 1/5/17, 9:29 AM, "piotrz" <piotrzarzycki21@gmail.com> wrote:

>Understand, but where I should put these code ? ConstantBinding should
>handle such case ?

Yes, ConstantBinding should handle it.  There may be a similar issue with
binding to static variables in other classes, but I wouldn't worry about
that just now.

It sounds like in this case the source is null when the code gets to:

	if (sourcePropertyName in source)

So, I would check just before to see if the sourceID is a class.


View raw message