Skip to content

Fix dialyzer errors#88

Open
timothyvanderaerden wants to merge 2 commits intoesl:masterfrom
sippy-platform:fork-dialyzer-errors
Open

Fix dialyzer errors#88
timothyvanderaerden wants to merge 2 commits intoesl:masterfrom
sippy-platform:fork-dialyzer-errors

Conversation

@timothyvanderaerden
Copy link

This includes the following

  • Fix delivery_tag type for ack/3 and reject/3 in adapter callback
  • Follow basic_consume_ok/2 and basic_deliver/3 callback contract in the consumer case clauses

I'm not sure if the last is applicable, maybe the callback return types need to be changed instead?

According to the callback `basic_consume_ok/2` and `basic_deliver/3` expect `:ok` or `{:stop, reason :: any()}`. However they both contain a case clause which can never be invoked since other clauses in that case matches the contract.
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

Successfully merging this pull request may close these issues.

1 participant