Mismatched types for padding in UIComponent vs. HGroup
paddingLeft, paddingTop, etc., have type Object in mx.core.UIComponent, but they have type Number in spark.components.HGroup.
This causes VerifyError: Error #1053 in Flash Debug Player for HGroup. (And would for VGroup, etc., if they implemented.) This is the problem described in issue #953.
Which type should it be, or is this function/member overloading intentional?
Should I thunk this with an SWFOverride, or do one of these need to be corrected?
(paddingXX type mismatches between mx.core.UIComponent and spark.components.HGroup / others)
This is the exception text that fdb shows:
[trace] return types dont match
[trace] virt Object mx.core::UIComponent/get paddingLeft()
[trace] over Number spark.components::HGroup/get paddingLeft()
[trace]
[trace] param 1 incompatible
[trace] virt Object mx.core::UIComponent/set paddingLeft()
[trace] over Number spark.components::HGroup/set paddingLeft()
[trace]
[trace] return types dont match
[trace] virt Object mx.core::UIComponent/get paddingRight()
[trace] over Number spark.components::HGroup/get paddingRight()
[trace]
[trace] param 1 incompatible
[trace] virt Object mx.core::UIComponent/set paddingRight()
[trace] over Number spark.components::HGroup/set paddingRight()
[trace]
[trace] return types dont match
[trace] virt Object mx.core::UIComponent/get paddingTop()
[trace] over Number spark.components::HGroup/get paddingTop()
[trace]
[trace] param 1 incompatible
[trace] virt Object mx.core::UIComponent/set paddingTop()
[trace] over Number spark.components::HGroup/set paddingTop()
[trace]
[trace] return types dont match
[trace] virt Object mx.core::UIComponent/get paddingBottom()
[trace] over Number spark.components::HGroup/get paddingBottom()
[trace]
[trace] param 1 incompatible
[trace] virt Object mx.core::UIComponent/set paddingBottom()
[trace] over Number spark.components::HGroup/set paddingBottom()
[Fault] exception, information=VerifyError: Error #1053: Illegal override of HGroup in spark.components.HGroup.
So, should I thunk this with an SWFOverride, or do one of these need to be corrected?