Re: I am close to using a behaviour as a pure interface and I feel dirty...

Stanislav Ledenev <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <CAOkK=ALDj1DCvSexH6y5LL0c6DvMDQ6Dzh68Gk2rRGavQcjhuw@mail.gmail.com>
>> Apparently the dialyzer cli tool has `-Wunknown` on by default but the
api doesn't?

Quote (https://erlang.org/doc/man/dialyzer.html):
"
-Wunknown (***)
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.

*** denotes options that turn on warnings rather than turning them off.
"

чт, 26 авг. 2021 г. в 19:01, Tristan Sloughter <[email protected]>:

> I don't remember details and haven't reread this, but I dug up this old
> discussion about rebar3 and dialyzer unknown option:
> https://github.com/erlang/rebar3/issues/1751
>
> Apparently the dialyzer cli tool has `-Wunknown` on by default but the api
> doesn't?
>
> On Thu, Aug 26, 2021, at 07:18, Stanislav Ledenev wrote:
>
> >> Surely Dialyzer will tell you that there is an unknown function in the
> >> module that you analyze.
>
> I guess you are talking about the -Wunknown option?
> It is ok, but this option is turned off by default.
> At the beginning of learning Erlang's tools, in terms of  ease of use, the
> xref tool is more convenient (IMHO of course).
>
> Anyway, Erlang has a bunch of really good tools and understanding them is
> a matter of time.
>
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.