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 2018/05/23 06:37:35 UTC

[GitHub] aharui commented on issue #245: Uncaught ReferenceError: org is not defined

aharui commented on issue #245: Uncaught ReferenceError: org is not defined
URL: https://github.com/apache/royale-asjs/issues/245#issuecomment-391236728
 
 
   The -remove-circulars compiler option is on by default.  The Google Closure Compiler does not allow circular dependencies, even simple things like Parent referencing Child and Child referencing Parent.  If your code can be written without circular references, you can try -remove-circulars=false.
   
   If you need to allow circular dependencies in your code, see if you can create a two- or three-file test case so we can debug through it.
   
   One workaround may be to write some code that uses Language in the main class.  That might pull Language in early enough to prevent your current problem.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services