diff options
| author | Loïc Hoguin <essen@ninenines.eu> | 2019-02-12 20:45:42 +0100 |
|---|---|---|
| committer | Loïc Hoguin <essen@ninenines.eu> | 2019-02-12 20:45:42 +0100 |
| commit | 19665bb3fd8e7c257703633f5550b35fb0775199 (patch) | |
| tree | 1825bc3b0627734bd9b17cd8e86dbc44764cddb8 | |
| parent | b49c242a52a6458f3a3520c634c986576e24629e (diff) | |
| download | rabbitmq-server-git-19665bb3fd8e7c257703633f5550b35fb0775199.tar.gz | |
Fix a type that caused a Dialyzer warning
| -rw-r--r-- | src/rabbit_amqqueue.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue.erl b/src/rabbit_amqqueue.erl index 6f9e757cab..337786b571 100644 --- a/src/rabbit_amqqueue.erl +++ b/src/rabbit_amqqueue.erl @@ -77,7 +77,7 @@ -type qpids() :: [pid()]. -type qlen() :: rabbit_types:ok(non_neg_integer()). -type qfun(A) :: fun ((amqqueue:amqqueue()) -> A | no_return()). --type qmsg() :: {name(), pid(), msg_id(), boolean(), rabbit_types:message()}. +-type qmsg() :: {name(), pid() | {atom(), pid()}, msg_id(), boolean(), rabbit_types:message()}. -type msg_id() :: non_neg_integer(). -type ok_or_errors() :: 'ok' | {'error', [{'error' | 'exit' | 'throw', any()}]}. |
