Is this such a trivial question that people are passing up replying
in lieu of bringing light to my ignorance, or are there really no best
practices to speak of here?

The only way I've found so far to do this is to deprecate the
overridden method, but even then from time to time we'll get a strange
error (this doesn't happen all of the time):

1021: Duplicate function definition.

Seems pretty obvious what's causing it, but we have other classes that
use this same syntax that aren't generating the error...

Is there any reason we shouldn't do this, or is there another, more
acceptable way to accomplish what we're trying to do here?

public class DataTypes extends ArrayCollection
{
        public function DataTypes(){
        }
                
        [Deprecated]
        override public function addItem(item:Object):void{
        }
                
        public function addItem(item:DataType):void{
                super.addItem(item);
        }
}

Reply via email to