OK, I think the compiler handles both cases now. You should see
["org.apache.flex.fa.FontAwesomeIconType", "GLASS"] in the data. -Alex On 1/5/17, 1:22 PM, "Alex Harui" <aha...@adobe.com> wrote: > > >On 1/5/17, 12:05 PM, "piotrz" <piotrzarzyck...@gmail.com> wrote: > >>Exactly I even have the code ready but I need to wait for your fix, cause >>currently if run this code: >> >><fa:FontAwesomeIcon >>iconType="{org.apache.flex.fa.FontAwesomeIconType.GLASS}" size="fa-lg" >>/> >> >>I have in my _bindings array something like that >> >> function() { return org.apache.flex.fa.FontAwesomeIconType.GLASS; }, so >>source is an function - It should be simple string >> >>["org.apache.flex.fa.FontAwesomeIconType", GLASS] > >Hi Piotr, > >Actually, that scenario might be different because it is already a long >dot-path expression and may be trickier. Binding optimizations are >currently oriented towards a.b expressions. So I may not solve the above >case right away, my main goal is to resolve just >"FontAwesomeIconType.GLASS", I'll let you know as I get further into it. > >-Alex >