Dialyxir.Warnings.FunctionApplicationNoFunction (Dialyxir v1.4.2) 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