there's lots of glue code in Flash/AIR that use various techniques to prevent a class from being constructed directly (ie, to make it an abstract base class) by throwing exceptions from ScriptObject::construct(), or from a native AS3 ctor, or other ad-hoc means. We should formalize a way to do this and replace the existing mishmash of approaches. (This would also probably remove the bulk of the overrides to construct().)
Widely acknowledged as an AS3 bug. One popular proposal is to allow constructors to be private or protected (depending on whether you want a factory or an abstract class). Do we have any specific requirements?
Summary: Provide a "non-constructable c;ass" idiom → Provide a "non-constructable class" idiom
Whiteboard: Language bug
Target Milestone: --- → Future
You need to log in before you can comment on or make changes to this bug.