We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 442a49a commit aa350b1Copy full SHA for aa350b1
lib/elixir/lib/protocol.ex
@@ -280,9 +280,9 @@ defmodule Protocol do
280
type_args = :lists.map(fn _ -> quote(do: term) end, :lists.seq(2, arity))
281
type_args = [quote(do: t) | type_args]
282
283
- verify = fn pos -> Macro.var(String.to_atom("arg" <> Integer.to_string(pos)), __MODULE__) end
+ convert_variables = fn pos -> Macro.var(String.to_atom("arg" <> Integer.to_string(pos)), __MODULE__) end
284
285
- call_args = :lists.map(verify, :lists.seq(2, arity))
+ call_args = :lists.map(convert_variables, :lists.seq(2, arity))
286
call_args = [quote(do: term) | call_args]
287
288
quote generated: true do
0 commit comments