Closed albertored closed 2 months ago
mix credo -v
elixir -v
With the following snippet of code I get a Credo.Check.Refactor.Apply warning in functuion foo2 (wrong) while no warning for function foo1 (correct).
Credo.Check.Refactor.Apply
foo2
foo1
defmodule A do def foo1(args) do apply(Bar, :baz, [1 | args]) end def foo2(args) do apply(Bar, :baz, [1, 2 | args]) end end
@albertored This is part of Credo 1.7.8. Thx! 🎉
1.7.8
Environment
mix credo -v
): 1.7.7elixir -v
): 1.16.3With the following snippet of code I get a
Credo.Check.Refactor.Apply
warning in functuionfoo2
(wrong) while no warning for functionfoo1
(correct).