Dialyxir.Warnings.FunctionApplicationNoFunction (Dialyxir v1.4.5) View Source

The function being invoked exists, but has an arity mismatch.

Example

defmodule Example do
  def ok() do
    fun = fn _ -> :ok end
    fun.()
  end
end