# `Dialyxir.Warnings.OverlappingContract`
[🔗](https://github.com/jeremyjh/dialyxir/blob/1.4.8/lib/dialyxir/warnings/overlapping_contract.ex#L1)

The function has an additional @spec that is already covered more
generally by a higher @spec.

## Example

    defmodule Example do
      @spec ok(atom) :: :ok
      def ok(:ok) do
        :ok
      end

      @spec ok(:error) :: :ok
      def ok(:error) do
        :ok
      end
    end

---

*Consult [api-reference.md](api-reference.md) for complete listing*
