diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-07-10 15:50:17 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-12 01:24:19 -0400 |
commit | 6db30f462e5c77df2a4fb56cd793ecb5243ecdff (patch) | |
tree | 5682b194ef8806d6528470b08620c9b8d97757a2 /include/mem3.hrl | |
parent | 15820b8ec6aa24fe0283879de85cebec17686868 (diff) |
thank you dialyzer
Diffstat (limited to 'include/mem3.hrl')
-rw-r--r-- | include/mem3.hrl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/mem3.hrl b/include/mem3.hrl index f6584f19..b9359b44 100644 --- a/include/mem3.hrl +++ b/include/mem3.hrl @@ -1,4 +1,11 @@ --record(shard, {name, node, dbname, range, ref}). +% type specification hacked to suppress dialyzer warning re: match spec +-record(shard, { + name :: binary() | '_', + node :: node() | '_', + dbname :: binary(), + range :: [non_neg_integer() | '$1' | '$2'], + ref :: reference() | 'undefined' | '_' +}). %% types -type join_type() :: init | join | replace | leave. |