Dialyxir v1.0.0 Dialyxir.Warnings.PatternMatch View Source
The pattern matching is never given a value that satisfies all of its clauses.
Example
defmodule Example do
def ok() do
unmatched(:ok)
end
defp unmatched(:ok), do: :ok
defp unmatched(:error), do: :error
end