aharui commented on issue #1180: URL: https://github.com/apache/royale-asjs/issues/1180#issuecomment-1081449920
The compiler is already checking the type information it has, but because the JS runtime does not do much type-checking, there is always a chance that what gets passed in at runtime is not what the type information told the compiler. The stack trace at the exception can often contain clues, so please attach it if you can. One of the most common places to lose type information is when converting a server response to AS3 objects. The compiler "could" generate runtime type-checking, but I think that would slow everything down too much. -- 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]
