aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/gb_sets.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2012-10-05 09:16:39 +0200
committerHans Bolinder <[email protected]>2012-10-05 09:16:39 +0200
commitf1301581ce83ce80426d3fcf09cf12f8527a458b (patch)
tree173b459097a437ff078a6f0d7313e9b197570dc6 /lib/stdlib/src/gb_sets.erl
parenta24c49aec663f19092cf0d2062af19523666d291 (diff)
downloadotp-f1301581ce83ce80426d3fcf09cf12f8527a458b.tar.gz
otp-f1301581ce83ce80426d3fcf09cf12f8527a458b.tar.bz2
otp-f1301581ce83ce80426d3fcf09cf12f8527a458b.zip
Fix Dialyzer warnings
Opaque types need to be exported.
Diffstat (limited to 'lib/stdlib/src/gb_sets.erl')
-rw-r--r--lib/stdlib/src/gb_sets.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/stdlib/src/gb_sets.erl b/lib/stdlib/src/gb_sets.erl
index 91d21d869c..391f1cff64 100644
--- a/lib/stdlib/src/gb_sets.erl
+++ b/lib/stdlib/src/gb_sets.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2001-2011. All Rights Reserved.
+%% Copyright Ericsson AB 2001-2012. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -196,6 +196,8 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Some types.
+-export_type([iter/0]).
+
-type gb_set_node() :: 'nil' | {term(), _, _}.
-opaque iter() :: [gb_set_node()].