Skip to content

Conversation

@ericentin
Copy link
Contributor

@ericentin ericentin commented Aug 3, 2016

Closes #5053.

If the module we are waiting on is in the list of modules we are currently defining, simply send :found so that the compiler process can produce whatever error it would outside of the parallel compiler.

This fixes the issue described in #5053 and should also improve any other potential future similar issues.

@josevalim josevalim merged commit 198e5b9 into elixir-lang:master Aug 3, 2016
@josevalim
Copy link
Member

❤️ 💚 💙 💛 💜

@ericentin ericentin deleted the no-wait-for-self branch August 3, 2016 20:48
josevalim pushed a commit that referenced this pull request Aug 4, 2016
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Compiler reports deadlock for %__MODULE__{} instead of struct undefined error

2 participants