[Bindable] public override
I stumbled upon a compiler error when overriding a setter function with the Bindable metadata tag: “overriding a function that is not marked for override”
The answer is short and simple: use –[Bindable] public override– instead of –[Bindable] override public–
It may sound silly but the override actually has to come second in order for the compiler to interpret it properly in this particular situation.
T H A N K S V E R Y M U C H !
You saved me!
Is true, i have been stuck running into this … I have now an idea ( ‘oop recomandation’ ) about why the help on flex recomend the “override public” form but i don`t think this is a + nor for as3 lang nor for future of flex
. By the way, in gumbo is the same ?
I did not try to reproduce this error with Gumbo. It’s on my TODO list.
OMG — i thought I was losing my mind. Thanks a ton. BTW- you need to rearrange the public/override on all superclasses in case you’re inheritance tree is more than 2 deep. Has anyone filed on JIRA for this?