html/help.html?content=metadata_3.html check
> the documentation. I believe you are suppose to use it on setter only.
>
> Regards
> Srinivas
>
> On Wed, Apr 7, 2010 at 1:24 PM, jimmartin10 wrote:
>
> >
> >
> > If I use the [Deprecated] tag on a g
Noone knows how to deprecate a getter without getting erroneous compiler
warnings from the setter?
--- In flexcoders@yahoogroups.com, "jimmartin10" wrote:
>
> If I use the [Deprecated] tag on a getter only, e.g.
>
> [Deprecated]
> public function get myOldProperty()
If I use the [Deprecated] tag on a getter only, e.g.
[Deprecated]
public function get myOldProperty():int
{
return 0;
}
public function set myOldProperty(value:int):void
{
}
Then I get a warning at the line of the setter. "myOldProperty has been
deprecated"
If I use the
3 matches
Mail list logo