diff options
author | Anders Svensson <[email protected]> | 2016-05-04 19:14:27 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2016-05-04 19:14:27 +0200 |
commit | 47092580a7ca6de581abf672e45a1c11e1d4561e (patch) | |
tree | 58a91fcaa64e851ebc5a4fdc2592c046f415b146 /lib/sasl/doc/src/rb.xml | |
parent | 9169589569cda14c1c142cc396ab612697972dea (diff) | |
download | otp-47092580a7ca6de581abf672e45a1c11e1d4561e.tar.gz otp-47092580a7ca6de581abf672e45a1c11e1d4561e.tar.bz2 otp-47092580a7ca6de581abf672e45a1c11e1d4561e.zip |
Suppress dialyzer warning
This one:
diameter_tcp.erl:928: (call)
The call diameter_tcp:throttle({'timeout',_},#transport{socket::port() | {'sslsocket',_,_},parent::pid(),module::atom(),frag::binary() | {non_neg_integer(),non_neg_integer(),binary(),[binary()]},ssl::boolean() | [any()],timeout::'infinity' | non_neg_integer(),tref::'false' | reference(),flush::boolean(),throttle_cb::'false' | fun() | maybe_improper_list(fun() | maybe_improper_list(any(),[any()]) | {atom(),atom(),[any()]},[any()]) | {atom(),atom(),[any()]},throttled::'true' | binary()})
will never return since it differs in the 1st argument from the
success typing arguments:
('discard' | 'ok' | binary() | pid() | {'discard' | 'ok' | binary() | pid(),'false' | fun() | [fun() | [any()] | {atom(),atom(),[any()]}] | {atom(),atom(),[any()]}},#transport{socket::port() | {'sslsocket',_,_},parent::pid(),module::atom(),frag::binary() | {non_neg_integer(),non_neg_integer(),binary(),[binary()]},ssl::boolean() | [any()],timeout::'infinity' | non_neg_integer(),tref::'false' | reference(),flush::boolean(),throttle_cb::'false' | fun() | [fun() | [any()] | {atom(),atom(),[any()]}] | {atom(),atom(),[any()]},throttled::binary()})
It's true that the clause doesn't return, because of the throw, and
that's the intention.
Diffstat (limited to 'lib/sasl/doc/src/rb.xml')
0 files changed, 0 insertions, 0 deletions