<div dir="ltr">>> Apparently the dialyzer cli tool has `-Wunknown` on by default but the api doesn't?<br><div><br></div><div>Quote (<a href="https://erlang.org/doc/man/dialyzer.html">https://erlang.org/doc/man/dialyzer.html</a>):</div><div>"<br>-Wunknown (***)<br>Let warnings about unknown functions and types affect the exit status of the command-line version. The default is to ignore warnings about unknown functions and types when setting the exit status. When using Dialyzer from Erlang, warnings about unknown functions and types are returned; the default is not to return these warnings.<br><br>*** denotes options that turn on warnings rather than turning them off.<br>"<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 26 авг. 2021 г. в 19:01, Tristan Sloughter <<a href="mailto:t@crashfast.com">t@crashfast.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u><div><div>I don't remember details and haven't reread this, but I dug up this old discussion about rebar3 and dialyzer unknown option: <a href="https://github.com/erlang/rebar3/issues/1751" target="_blank">https://github.com/erlang/rebar3/issues/1751</a></div><div><br></div><div>Apparently the dialyzer cli tool has `-Wunknown` on by default but the api doesn't?<br></div><div><br></div><div>On Thu, Aug 26, 2021, at 07:18, Stanislav Ledenev wrote:<br></div><blockquote type="cite" id="gmail-m_872084310114810616qt"><div dir="ltr"><div dir="ltr"><div>>> Surely Dialyzer will tell you that there is an unknown function in the<br></div><div>>> module that you analyze.<br></div></div><div><br></div><div>I guess you are talking about the -Wunknown option?<br></div><div>It is ok, but this option is turned off by default. <br></div><div>At the beginning of learning Erlang's tools, in terms of  ease of use, the xref tool is more convenient (IMHO of course).<br></div><div><br></div><div>Anyway, Erlang has a bunch of really good tools and understanding them is a matter of time.<br></div><div><br></div><div><br></div><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><br></div></blockquote></div></div></blockquote><div><br></div></div></blockquote></div>