estanglerbm opened a new pull request #1126:
URL: https://github.com/apache/royale-asjs/pull/1126


   Added support for function instances passed into getQualifiedClassName().  
For example, getQualifiedClassName(getQualifiedClassName).
   
   Did not add support for calling with "Function", i.e. literally calling 
getQualifiedClassName(Function).  In that case, it's supposed to return string 
"Function", but no idea how to differentiate between function instances and 
"Function" (both have type "function" internally, like so many other things) in 
JS side.
   
   Also added some tests in Reflection for this, but commented out ones that 
won't work right now.
   
   getQualifiedClassName(myfunc) returns a string with "::" in it, so I made 
special exception for that on the SWF side.  Currently, due to commit 
6cce56f26414653c33cc79cc772b066400db3e5b, on the SWF side, it generally 
replaces "::" with ".".  I assume it's to not have to add code for making the 
JS side match.  Should this getQualifiedClassName() be different from Flex in 
that respect?
   


-- 
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]


Reply via email to