Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Known Dialyzer warning #15

Closed
lucafavatella opened this issue Feb 21, 2017 · 2 comments
Closed

Known Dialyzer warning #15

lucafavatella opened this issue Feb 21, 2017 · 2 comments
Assignees

Comments

@lucafavatella
Copy link
Contributor

Dialyzer warning as detected by OTP 19.2 on e502d3a (by Travis CI):

sumo_store_riak.erl:490: The call sumo_store_riak:update_map(Conn::pid(),Bucket::{binary(),binary()},'undefined',{'map',[{{binary(),'counter' | 'flag' | 'map' | 'register' | 'set'},_}],[{{binary(),'counter' | 'flag' | 'map' | 'register' | 'set'},_}],[{binary(),'counter' | 'flag' | 'map' | 'register' | 'set'}],'undefined' | binary()},Opts::['if_none_match' | 'if_not_modified' | 'return_body' | 'return_head' | {'dw','all' | 'default' | 'one' | 'quorum' | non_neg_integer()} | {'n_val',pos_integer()} | {'pw','all' | 'default' | 'one' | 'quorum' | non_neg_integer()} | {'sloppy_quorum',boolean()} | {'w','all' | 'default' | 'one' | 'quorum' | non_neg_integer()}]) will never return since it differs in the 3rd argument from the success typing arguments: (pid(),{binary(),binary()},binary(),{'map',[{{_,_},_}],[{{_,_},_}],[{binary(),'counter' | 'flag' | 'map' | 'register' | 'set'}],'undefined' | binary()},[atom() | tuple()])

This Dialyzer warning fix depends on riak-erlang-client spec fix.

See #12 (comment) and following for context.

@lucafavatella
Copy link
Contributor Author

lucafavatella commented Feb 21, 2017

Upstream fixed. New tag requested.

@lucafavatella
Copy link
Contributor Author

New tag taken by upstream. Testing now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant