You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe current behavior. Include errors, stack traces, and any additional information that might be important here.
Running mix dialyzer -plt results in the following error:
mix dialyzer -plt
Checking PLT...
[:compiler, :elixir, :erlex, :kernel, :logger, :stdlib]
Finding suitable PLTs
Looking up modules in dialyxir_erlang-27.2_elixir-1.18.1_deps-dev.plt
Looking up modules in dialyxir_erlang-27.2_elixir-1.18.1.plt
Looking up modules in dialyxir_erlang-27.2.plt
Finding applications for dialyxir_erlang-27.2.plt
Finding modules for dialyxir_erlang-27.2.plt
Creating dialyxir_erlang-27.2.plt
:dialyzer.run error: Analysis failed with error:
{undef,[{prettypr,text,["0"],[]},
{cerl_prettypr,lay_ann,2,[{file,"cerl_prettypr.erl"},{line,402}]},
{cerl_prettypr,format,2,[{file,"cerl_prettypr.erl"},{line,262}]},
{dialyzer_dataflow,signal_guard_failure,5,
[{file,"dialyzer_dataflow.erl"},{line,2481}]},
{dialyzer_dataflow,bind_guard,5,
[{file,"dialyzer_dataflow.erl"},{line,1809}]},
{dialyzer_dataflow,handle_guard_and,5,
[{file,"dialyzer_dataflow.erl"},{line,2257}]},
{dialyzer_dataflow,bind_guard,5,
[{file,"dialyzer_dataflow.erl"},{line,1809}]},
{dialyzer_dataflow,bind_guard,3,
[{file,"dialyzer_dataflow.erl"},{line,1714}]}]}
Last messages in the log cache:
Reading files and computing callgraph... done in 0.24 secs
Removing edges... done in 0.01 secs
Looking up modules in dialyxir_erlang-27.2.plt
** (Mix) Could not open /fictional_home_filepath/.asdf/installs/elixir/1.18.1-otp-27/.mix/dialyxir_erlang-27.2.plt: no such file or directory
Expected behavior
A short description of the expected behavior.
I expected dialyzer to create the necessary plt files for the project.
The text was updated successfully, but these errors were encountered:
Precheck
Take a look at the open issues and be sure that your issue is not already covered.
May be repeat of https://github.com/jeremyjh/dialyxir/issues/453 but there are no comments or resolution to that issue.
Be sure your versions of Dialyxir and Erlex are up to date.
Environment
Current behavior
Running mix dialyzer -plt results in the following error:
Expected behavior
I expected dialyzer to create the necessary plt files for the project.
The text was updated successfully, but these errors were encountered: