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
I created a brand new project via mix phx.new dialyzer_bug --no-html --no-assets --no-dashboard --no-mailer --no-gettext and added dialyxer. I plain run of mix dialyzer outputs:
[:asn1, :bandit, :castore, :compiler, :crypto, :db_connection, :decimal, :dialyzer_bug, :dns_cluster, :ecto, :ecto_sql, :eex, :elixir, :hpax, :jason, :kernel, :logger, :mime, :phoenix, :phoenix_ecto, :phoenix_pubsub, :phoenix_template, :plug, :plug_crypto, :postgrex, :public_key, :runtime_tools, :ssl, :stdlib, :telemetry, :telemetry_metrics, :telemetry_poller, :thousand_island, :websock, :websock_adapter]
Looking up modules in dialyxir_erlang-27.1.1_elixir-1.17.3_deps-dev.plt
Looking up modules in dialyxir_erlang-27.1.1_elixir-1.17.3.plt
Finding applications for dialyxir_erlang-27.1.1_elixir-1.17.3.plt
Finding modules for dialyxir_erlang-27.1.1_elixir-1.17.3.plt
Removing 5 modules from dialyxir_erlang-27.1.1_elixir-1.17.3.plt
Checking 468 modules in dialyxir_erlang-27.1.1_elixir-1.17.3.plt
Adding 5 modules to dialyxir_erlang-27.1.1_elixir-1.17.3.plt
done in 0m7.05s
Finding applications for dialyxir_erlang-27.1.1_elixir-1.17.3_deps-dev.plt
Finding modules for dialyxir_erlang-27.1.1_elixir-1.17.3_deps-dev.plt
Copying dialyxir_erlang-27.1.1_elixir-1.17.3.plt to dialyxir_erlang-27.1.1_elixir-1.17.3_deps-dev.plt
Looking up modules in dialyxir_erlang-27.1.1_elixir-1.17.3_deps-dev.plt
Checking 473 modules in dialyxir_erlang-27.1.1_elixir-1.17.3_deps-dev.plt
Adding 767 modules to dialyxir_erlang-27.1.1_elixir-1.17.3_deps-dev.plt
done in 0m20.35s
No :ignore_warnings opt specified in mix.exs and default does not exist.
Starting Dialyzer
[
check_plt: false,
init_plt: ~c"~/code/phx_gens/dialyzer_bug/_build/dev/dialyxir_erlang-27.1.1_elixir-1.17.3_deps-dev.plt",
files: [~c"~/code/phx_gens/dialyzer_bug/_build/dev/lib/dialyzer_bug/ebin/Elixir.DialyzerBug.Application.beam",
~c"~/code/phx_gens/dialyzer_bug/_build/dev/lib/dialyzer_bug/ebin/Elixir.DialyzerBug.Repo.beam",
~c"~/code/phx_gens/dialyzer_bug/_build/dev/lib/dialyzer_bug/ebin/Elixir.DialyzerBug.beam",
~c"~/code/phx_gens/dialyzer_bug/_build/dev/lib/dialyzer_bug/ebin/Elixir.DialyzerBugWeb.Endpoint.beam",
~c"~/code/phx_gens/dialyzer_bug/_build/dev/lib/dialyzer_bug/ebin/Elixir.DialyzerBugWeb.ErrorJSON.beam",
...],
warnings: [:unknown]
]
Total errors: 1, Skipped: 0, Unnecessary Skips: 0
done in 0m1.17s
deps/phoenix/lib/phoenix/router.ex:1:pattern_match
The pattern can never match the type.
Pattern:
{_, _, _, _}
Type:
:error
________________________________________________________________________________
done (warnings were emitted)
Halting VM with exit status 2
Expected behavior
A clean dialyzer run
The text was updated successfully, but these errors were encountered:
Environment
Actual behavior
Setup is here: https://github.com/the-destro/dialyzer_bug
I created a brand new project via
mix phx.new dialyzer_bug --no-html --no-assets --no-dashboard --no-mailer --no-gettext
and added dialyxer. I plain run ofmix dialyzer
outputs:Expected behavior
A clean dialyzer run
The text was updated successfully, but these errors were encountered: