greg-dove commented on pull request #1126:
URL: https://github.com/apache/royale-asjs/pull/1126#issuecomment-946340185
> Any thoughts?
For the '::', you are correct, this was simply a decision to align things
between js and swf in the reflection library. The delimiter between package and
definition (e.g. class or function or variable etc) name in the qualified name
was not deemed necessary, because it is always the lastIndexOf('.'). I expanded
the reflection support from very limited beginnings, and I think it was me who
did this for swf at a point when I was making the unit testing to test agains
the same results for both implementations. So for 'Royale' reflection,
getQualifiedName returns '.' and not '::' in the name. But of course it is
still possible to use the native flash version in swf as well for this if you
want the '::'. When porting Flex code to Royale, it is usually a trivial search
and replace ('::' in strings) to change it throughout a codebase.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]