Skip to content

Commit

Permalink
Solution: Fix Dialyzer Warnings (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
maennchen authored and c-rack committed Mar 22, 2018
1 parent 806ccba commit f456f0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 0 additions & 4 deletions dialyzer.ignore-warnings
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,4 @@ Unknown function 'Elixir.Quantum.RunStrategy.NodeList.PID':'__impl__'/1
Unknown function 'Elixir.Quantum.RunStrategy.NodeList.Port':'__impl__'/1
Unknown function 'Elixir.Quantum.RunStrategy.NodeList.Reference':'__impl__'/1
Unknown function 'Elixir.Quantum.RunStrategy.NodeList.Tuple':'__impl__'/1
Unknown function 'Elixir.Calendar.DateTime':'shift_zone!'/2
Unknown function 'Elixir.Timex.Timezone':convert/2
Unknown function 'Elixir.Calendar.DateTime':from_naive/2
Unknown function 'Elixir.Timex':to_datetime/2
Overloaded contract for 'Elixir.Quantum.DateLibrary':'to_utc!'/2 has overlapping domains; such contracts are currently unsupported and are simply ignored
5 changes: 4 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ defmodule Quantum.Mixfile do
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
version: @version,
dialyzer: [ignore_warnings: "dialyzer.ignore-warnings"]
dialyzer: [
ignore_warnings: "dialyzer.ignore-warnings",
plt_add_apps: [:timex, :calendar]
]
]
end

Expand Down

0 comments on commit f456f0e

Please sign in to comment.