flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From piotrz <piotrzarzyck...@gmail.com>
Subject Re: [FlexJS] Runtime error when setting a property to a constant value
Date Wed, 04 Jan 2017 20:02:26 GMT

I've went through the code and it seems that it can be no problem with

In _bindings array I have

 ["FontAwesomeIconType", "GLASS"]

In ItemRendererDataBinding there is condition in set strand

if (binding.source is Array && binding.source.length == 2 &&
binding.destination.length == 2)
where binding.source[0] ("FontAwesomeIconType") was taken and used for
searching inside watchersMap.

Question is - How can we recognize that FontAwesomeIconType is not instance
of the class and GLASS is static property ? 
Is this job for the compiler ? 


Apache Flex PMC
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Runtime-error-when-setting-a-property-to-a-constant-value-tp57874p57914.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

View raw message