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 2019/10/29 20:16:17 UTC

[GitHub] [royale-asjs] aharui commented on issue #538: Cannot Access Module as Variable in another Module

aharui commented on issue #538: Cannot Access Module as Variable in another Module
URL: https://github.com/apache/royale-asjs/issues/538#issuecomment-547609750
 
 
   As explained in #529, a module's class should not be directly referenced in the main application or another module, as compiling and linking would require linking in the module instead of loading it later.
   
   In Flex, this might work if you have your source-paths set to include the module, but then your modules weren't really modules.
   
   In Royale, you could still use more source-paths, but it is probably better to use modules properly.

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


With regards,
Apache Git Services