Fix bad specs
There were some bad specs in '|' OR'd specs. These were being falsely ignored in dialyzer until https://github.com/erlang/otp/pull/1722. Running on OTP21 exposed these incomplete specs.
This commit is contained in:
parent
65de71a2b5
commit
0dda129d3e
2 changed files with 5 additions and 4 deletions
|
@ -88,7 +88,7 @@
|
|||
-type ledger_status() ::
|
||||
tomb|{active, non_neg_integer()|infinity}.
|
||||
-type ledger_key() ::
|
||||
{tag(), any(), any(), any()}.
|
||||
{tag(), any(), any(), any()}|all.
|
||||
-type ledger_value() ::
|
||||
{integer(), ledger_status(), segment_hash(), tuple()|null}.
|
||||
-type ledger_kv() ::
|
||||
|
@ -647,7 +647,7 @@ aae_indexspecs(AAE, Bucket, Key, SQN, H, LastMods) ->
|
|||
end.
|
||||
|
||||
-spec parse_date(tuple(), integer(), integer(), integer()) ->
|
||||
no_index|{binary(), integer()}.
|
||||
no_index|{list(), integer()}.
|
||||
%% @doc
|
||||
%% Parse the last modified date and the AAE date configuration to return a
|
||||
%% binary to be used as the last modified date part of the index, and an
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue