<div>Hello,<br></div><div><br></div><div>I run dialyzer for my project. I got:<br>test.erl:97: The created fun has no local return<br><br>In 97 line i have:<br> </div><div><br></div><div>List = lists:filter(fun(X) -> {_, _, SomeBoolFlag} = X,</div>
<div> SomeBoolFlag == false</div><div> end,<br> TestList)<br></div><div><br></div><div>And also i have message like:<br>
</div><div><br></div><div>test.erl:161: Function test_func/2 will never be called</div><div><br></div><div>But i have some test_func calls in my code in current file.</div><div><br>What's wrong?</div><div><div><br></div>
</div><div>Thank you.</div>