"require OtherModule" should do it. If not, it is a bug in Mix or Elixir, so please provide a mechanism to reproduce it so we can fix it. :)
*José Valim* www.plataformatec.com.br Skype: jv.ptec Founder and Director of R&D On Tue, Feb 28, 2017 at 9:55 AM, Brian Cardarella <[email protected]> wrote: > I am doing some meta programming that has one module depending upon the > state of another. However it isn't being picked up by the compiler that > these two modules are related. And when the parent changes the child should > be marked for recompilation. It would be really nice if we had a simple > module attribute like: `@dependency_of` that took a list of modules. This > could be incorporated into the manifest write out for determining > dependencies. I assume at that point the compiler could work as normal. > > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/elixir-lang-core/947a0dc2-20d0-4c45-8d45- > eaaec3e60861%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/947a0dc2-20d0-4c45-8d45-eaaec3e60861%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4JTwUq00-UbJMY%2BaMZfHExZa_hYuf7fwm1b6V7u9BYPCw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
