You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/11/29 12:50:16 UTC

[GitHub] [royale-asjs] estanglerbm opened a new issue #961: Mismatched types for padding in UIComponent vs. HGroup

estanglerbm opened a new issue #961:
URL: https://github.com/apache/royale-asjs/issues/961


   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?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] estanglerbm commented on issue #961: Mismatched types for padding in UIComponent vs. HGroup

Posted by GitBox <gi...@apache.org>.
estanglerbm commented on issue #961:
URL: https://github.com/apache/royale-asjs/issues/961#issuecomment-753469307


   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 an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] estanglerbm commented on issue #961: Mismatched types for padding in UIComponent vs. HGroup

Posted by GitBox <gi...@apache.org>.
estanglerbm commented on issue #961:
URL: https://github.com/apache/royale-asjs/issues/961#issuecomment-883845503


   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?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@royale.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org