esl/ejabberd — pull request #19 by IgorKarymov (2012-04-14 09:59:27+00:00)
Title: dialyzer support

Try to dialyzer for search of errors.

make build_plt

Wait about 60 minutes

make dialyzer

It has shown to me about 366 warnings

For example:
Call to missing or unexported function ejabberd_sm:get_vh_session_list/1

src/ejabberd_auth.erl:398: The call erlang:list_to_binary(binary()) will never return since it differs in the 1st argument from the success typing arguments: (maybe_im\
proper_list(binary() | maybe_improper_list(any(),binary() | []) | byte(),binary() | []))