Dialyxir.Warnings.Apply (Dialyxir v1.4.3) View Source
The function being invoked exists, and has the correct arity, but will not succeed.
Example
defmodule Example do
def ok() do
fun = fn :ok -> :ok end
fun.(:error)
end
end
The function being invoked exists, and has the correct arity, but will not succeed.
defmodule Example do
def ok() do
fun = fn :ok -> :ok end
fun.(:error)
end
end