-
-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to run mix dialyzer
inside child project
#289
Comments
Interesting. So I've only ever run Dialyzer from the top level in an umbrella or in a non-umbrella'd app. Does the child application list Dialyzer as one of its dependencies in its |
Yes it lists. In the past I have run Dialyzer from child projects and it worked. |
I'm assuming this isn't a public project. That would be too easy =). There have been SUBSTANTIAL bug fixes and improvements since |
Ok, I am going to try |
I upgraded to Running So the problem is running |
I totally buy that theory. Sounds like the regenerate PLT code just needs to be more robust to being run from child applications. Thanks for the report! |
It looks like its a new issue on Elixir 1.8. It works for me on 1.7.3 but I get the same error on 1.8. This code is a garbage fire, it is shelling another process to build the PLT at the parent level because of load order issues for recursive app children. But I'm guessing something in the shell environment defaults has changed. |
I audibly laughed in public when I read 🗑️ 🔥 haha. Was unexpected. That code could definitely use some love, and I'm curious what changed upstream. |
Environment
In both the umbrella and child projects I have:
In the single
mix.lock
file shared by all projects in the umbrella I have:Current behavior
It is also strange to get the message
** (Mix) The task "dialyzer" could not be found
after showing the help for thedialyzer
task.Expected behavior
The expected behavior is for the
mix dialyzer
command to build the PLT and run Dialyzer as expected.The text was updated successfully, but these errors were encountered: