Closed vecerek closed 2 years ago
Thanks for the report! There is a bug in detecting that you did use get_in
in get_in_path
. For some reason, this code is correct:
def get_in_path(data, path) do
get_in(data, String.split(path, "."))
end
But this code makes the analyzer think get_in
wasn't used:
def get_in_path(data, path) do
data |> get_in(String.split(path, "."))
end
I'm receiving the following feedback:
For the following code:
I'm only using
get_in
insideget_in_path/2
.