Dialyxir v1.0.0 Dialyxir.Warnings.ContractSupertype View Source
The @spec, while not incorrect, is more general than the type returned by the function.
Example
defmodule Example do
@spec ok() :: any
def ok() do
:ok
end
end
The @spec, while not incorrect, is more general than the type returned by the function.
defmodule Example do
@spec ok() :: any
def ok() do
:ok
end
end