Skip to content

Commit

Permalink
fix dialyzer error
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Nov 2, 2023
1 parent c299b5d commit 993221f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elixir_sense/core/introspection.ex
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ defmodule ElixirSense.Core.Introspection do
"Unable to match callback #{inspect(key)} from doc chunk, with any of callbacks from typespec #{inspect(Enum.map(callbacks, &elem(&1, 0)))}"
)

args = if(arity == 0, do: "", else: Enum.map_join(1..arity, ", ", "term"))
args = if(arity == 0, do: "", else: Enum.map_join(1..arity, ", ", fn _ -> "term" end))

%{
name: name,
Expand Down

0 comments on commit 993221f

Please sign in to comment.