Dialyxir.Warnings.CallToMissingFunction (Dialyxir v1.4.2) View Source

Function calls a missing or private function. This may be caused by a typo or incorrect arity. This is also a compiler warning.

Example

defmodule Missing do
  def missing(:ok) do
    :ok
  end

  defp missing() do
    :ok
  end
end

defmodule Example do
  def error() do
    Missing.missing()
  end
end