diff options
author | Hans Bolinder <[email protected]> | 2012-09-28 09:12:43 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2012-09-28 09:12:43 +0200 |
commit | cccf365a9991a61029ef710046e11bbb78171e25 (patch) | |
tree | f735889b01a1d784f7d00e0df3632071fef02809 /lib/stdlib/src/binary.erl | |
parent | 6eb52d69372f427cccb275e5330f4634a96a21c5 (diff) | |
parent | 6674cff5db0c281d309723f25106dd84c33246b1 (diff) | |
download | otp-cccf365a9991a61029ef710046e11bbb78171e25.tar.gz otp-cccf365a9991a61029ef710046e11bbb78171e25.tar.bz2 otp-cccf365a9991a61029ef710046e11bbb78171e25.zip |
Merge branch 'hb/stdlib/opaque_warnings/OTP-10436'
* hb/stdlib/opaque_warnings/OTP-10436:
Refine a few opaque types
Warn for underspecified opaque types
Warn for opaque types that are not exported
Diffstat (limited to 'lib/stdlib/src/binary.erl')
-rw-r--r-- | lib/stdlib/src/binary.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/binary.erl b/lib/stdlib/src/binary.erl index 0e95372a76..1ed3422bc5 100644 --- a/lib/stdlib/src/binary.erl +++ b/lib/stdlib/src/binary.erl @@ -21,7 +21,7 @@ %% Implemented in this module: -export([split/2,split/3,replace/3,replace/4]). --opaque cp() :: tuple(). +-opaque cp() :: {'am' | 'bm', binary()}. -type part() :: {Start :: non_neg_integer(), Length :: integer()}. %%% BIFs. |