Open
Description
This is a reduced case of The clause on line X cannot be reached, when calling with/1
defmodule Unreacheable do
@spec foo(term) :: pos_integer()
def foo(bar) do
with _value <- bar do
1
else
_ ->
2
end
end
end
will generate:
lib/debug_gradient/unreacheable.ex: The clause on line 4 cannot be reached