Dialyxir.Warnings.CallbackArgumentTypeMismatch (Dialyxir v1.4.5) View Source
Type of argument does not match the callback's expected type.
Example
defmodule ExampleBehaviour do
@callback ok(:ok) :: :ok
end
defmodule Example do
@behaviour ExampleBehaviour
def ok(:error) do
:ok
end
end