aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/binary.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/binary.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/binary.erl')
-rw-r--r--lib/stdlib/src/binary.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stdlib/src/binary.erl b/lib/stdlib/src/binary.erl
index 1ed3422bc5..41b6ab1d5f 100644
--- a/lib/stdlib/src/binary.erl
+++ b/lib/stdlib/src/binary.erl
@@ -21,6 +21,8 @@
%% Implemented in this module:
-export([split/2,split/3,replace/3,replace/4]).
+-export_type([cp/0]).
+
-opaque cp() :: {'am' | 'bm', binary()}.
-type part() :: {Start :: non_neg_integer(), Length :: integer()}.