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/ets.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/ets.erl')
-rw-r--r-- | lib/stdlib/src/ets.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/ets.erl b/lib/stdlib/src/ets.erl index 817b397cc4..ee6cff1b75 100644 --- a/lib/stdlib/src/ets.erl +++ b/lib/stdlib/src/ets.erl @@ -42,7 +42,7 @@ -export([i/0, i/1, i/2, i/3]). --export_type([tab/0, tid/0, match_spec/0]). +-export_type([tab/0, tid/0, match_spec/0, comp_match_spec/0]). %%----------------------------------------------------------------------------- @@ -445,7 +445,7 @@ update_element(_, _, _) -> %%% End of BIFs --opaque comp_match_spec() :: any(). %% this one is REALLY opaque +-opaque comp_match_spec() :: binary(). %% this one is REALLY opaque -spec match_spec_run(List, CompiledMatchSpec) -> list() when List :: [tuple()], |