[erlang-questions] Some questions about dialyzer
Alexander Kuleshov
kuleshovmail@REDACTED
Wed Dec 21 10:30:57 CET 2011
Hello,
I run dialyzer for my project. I got:
test.erl:97: The created fun has no local return
In 97 line i have:
List = lists:filter(fun(X) -> {_, _, SomeBoolFlag} = X,
SomeBoolFlag == false
end,
TestList)
And also i have message like:
test.erl:161: Function test_func/2 will never be called
But i have some test_func calls in my code in current file.
What's wrong?
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111221/a3dc6060/attachment.htm>
More information about the erlang-questions
mailing list