Skip to content

Commit

Permalink
Update Dialyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
maennchen committed Feb 26, 2020
1 parent eebea08 commit 26e0f83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
6 changes: 0 additions & 6 deletions dialyzer.ignore-warnings
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,3 @@
:0: Unknown function 'Elixir.Quantum.RunStrategy.NodeList.Port':'__impl__'/1
:0: Unknown function 'Elixir.Quantum.RunStrategy.NodeList.Reference':'__impl__'/1
:0: Unknown function 'Elixir.Quantum.RunStrategy.NodeList.Tuple':'__impl__'/1
lib/quantum/date_library.ex:38: Overloaded contract for 'Elixir.Quantum.DateLibrary':'to_utc!'/2 has overlapping domains; such contracts are currently unsupported and are simply ignored
lib/quantum/execution_broadcaster.ex:241: The pattern {'ok', _date@1} can never match the type {'error',<<_:368>>}
lib/quantum/execution_broadcaster.ex:270: The pattern {'ok', _date@1} can never match the type {'error',<<_:368>>}
lib/quantum/execution_broadcaster.ex:298: Function add_to_state/4 will never be called
lib/quantum/execution_broadcaster.ex:306: Function add_job_at_date/3 will never be called
lib/quantum/execution_broadcaster.ex:313: Function find_date_and_put_job/3 will never be called
5 changes: 2 additions & 3 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ defmodule Quantum.Mixfile do
test_coverage: [tool: ExCoveralls],
version: @version,
dialyzer: [
ignore_warnings: "dialyzer.ignore-warnings",
plt_add_apps: [:timex, :calendar]
ignore_warnings: "dialyzer.ignore-warnings"
]
]
end
Expand Down Expand Up @@ -84,7 +83,7 @@ defmodule Quantum.Mixfile do
{:ex_doc, "~> 0.19", only: [:dev, :docs], runtime: false},
{:excoveralls, "~> 0.5", only: [:dev, :test], runtime: false},
{:inch_ex, "~> 1.0", only: [:dev, :docs], runtime: false},
{:dialyxir, "~> 0.5", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0-rc", only: [:dev, :test], runtime: false},
{:credo, "~> 0.7", only: [:dev, :test], runtime: false}
]
end
Expand Down

0 comments on commit 26e0f83

Please sign in to comment.