`Igniter.Refactors.Rename.rename_function/3` should update the `@spec` associated with the definition
Something I noticed while testing a rename_function call. It will upgrade the function name at the definition site, but not the @spec preceding it, so renaming foo/2 to bar/2 will get you something like:
@spec foo(term(), term()) :: term()
def bar(x, y) do
...
end
Hello! I am one of the ash fellows. if this bug is still present and there is no one currently working on it I would be happy to give it a go.
Not sure! Best to reproduce in a failing test and tackle if that test fails 🙇
I tried different tests but I couldn't reproduce the bug. The bug could have been fixed and just wasn't recorded or the bug is part of an edge case that I didn't try, I'm not certain. However, since I can't replicate the bug I am going to try tackling a different issue.
Thanks!