diff --git a/lib/elixir_sense/core/introspection.ex b/lib/elixir_sense/core/introspection.ex index 7f32ae53..c573d75a 100644 --- a/lib/elixir_sense/core/introspection.ex +++ b/lib/elixir_sense/core/introspection.ex @@ -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,