You need to provide more information. Possibly a mechanism to reproduce the bug. Otherwise, we will be all at guesses of what went wrong. You are right the code should not be executed at compile time as long as you are calling the GenServer inside a function.
If you are not sure it is an Elixir bug, it is probably better to move the discussion elsewhere, such as Stack Overflow or Elixir Forum. -- 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/CAGnRm4%2Bmv5CpZJZOgn3pMCSNZ-XZGHQfrjUT_%3DV3JNy2mDfesQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
