aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/gb_trees.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2012-10-08 08:41:11 +0200
committerHans Bolinder <[email protected]>2012-10-08 08:41:11 +0200
commitaead007ef22abb50d8cfbd0a58eb9f41fbb2f363 (patch)
treedbb341600c811826a41f03e1164498eb917a57de /lib/stdlib/src/gb_trees.erl
parent13348e02f5aac5509e3b7ef0ea4142e25c472b1d (diff)
parentf1301581ce83ce80426d3fcf09cf12f8527a458b (diff)
downloadotp-aead007ef22abb50d8cfbd0a58eb9f41fbb2f363.tar.gz
otp-aead007ef22abb50d8cfbd0a58eb9f41fbb2f363.tar.bz2
otp-aead007ef22abb50d8cfbd0a58eb9f41fbb2f363.zip
Merge branch 'hb/stdlib/opaque_warnings/OTP-10436'
* hb/stdlib/opaque_warnings/OTP-10436: Fix Dialyzer warnings
Diffstat (limited to 'lib/stdlib/src/gb_trees.erl')
-rw-r--r--lib/stdlib/src/gb_trees.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/stdlib/src/gb_trees.erl b/lib/stdlib/src/gb_trees.erl
index 6ad861ff5b..258713c90f 100644
--- a/lib/stdlib/src/gb_trees.erl
+++ b/lib/stdlib/src/gb_trees.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
@@ -152,6 +152,8 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Some types.
+-export_type([iter/0]).
+
-type gb_tree_node() :: 'nil' | {_, _, _, _}.
-opaque iter() :: [gb_tree_node()].