Dialyxir v1.0.0 Dialyxir.Warnings.CallbackMissing View Source

Module implements a behaviour, but does not have all of its callbacks. This is also a compiler warning.

Example

defmodule ExampleBehaviour do
  @callback ok() :: :ok
  @callback missing() :: :ok
end

defmodule Example do
  @behaviour ExampleBehaviour

  def ok() do
    :ok
  end
end