208 introduced a bug: since captured functions function/1 are transformed to {:/, _, [{:function, [], Elixir}, 2]} they looked like a variable and were therefore not considered. We didn't have any tests for this case.
This PR fixes that, both recognizing the target function in captured notation, or indirectly via helper functions in captured notations.
208 introduced a bug: since captured functions
function/1
are transformed to{:/, _, [{:function, [], Elixir}, 2]}
they looked like a variable and were therefore not considered. We didn't have any tests for this case.This PR fixes that, both recognizing the target function in captured notation, or indirectly via helper functions in captured notations.