aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc/src/edoc_specs.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2011-05-18 08:30:54 +0200
committerHans Bolinder <[email protected]>2011-05-18 08:30:54 +0200
commit4ed30063f15b4b80f5f23b00f55a49ed3496fe9e (patch)
tree7bd83adbc7859ef177d4a09d7cb0fa09e65e060a /lib/edoc/src/edoc_specs.erl
parent69f7630157b16eda1639323e6bbc269096255006 (diff)
parent766e09ac2d1abfa65f65377945ce8f06905e786e (diff)
downloadotp-4ed30063f15b4b80f5f23b00f55a49ed3496fe9e.tar.gz
otp-4ed30063f15b4b80f5f23b00f55a49ed3496fe9e.tar.bz2
otp-4ed30063f15b4b80f5f23b00f55a49ed3496fe9e.zip
Merge branch 'hb/edoc/bugfixes/OTP-9301' into dev
* hb/edoc/bugfixes/OTP-9301: Fix bugs concerning the option report_missing_types
Diffstat (limited to 'lib/edoc/src/edoc_specs.erl')
-rw-r--r--lib/edoc/src/edoc_specs.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/edoc/src/edoc_specs.erl b/lib/edoc/src/edoc_specs.erl
index 45016ef85a..519ade726f 100644
--- a/lib/edoc/src/edoc_specs.erl
+++ b/lib/edoc/src/edoc_specs.erl
@@ -1,4 +1,4 @@
-%
+%%
%% %CopyrightBegin%
%%
%% Copyright Ericsson AB 1996-2011. All Rights Reserved.
@@ -428,8 +428,8 @@ get_typevars(Ts) ->
expand_records(Entries, TypeDefs, DT, Opts, File, Module) ->
TypeList = [{type_name(T), T, not_seen} || T <- TypeDefs],
true = ets:insert(DT, TypeList),
- Warn = proplists:get_value(report_missing_type, Opts,
- ?REPORT_MISSING_TYPE) =:= true,
+ Warn = proplists:get_value(report_missing_types, Opts,
+ ?REPORT_MISSING_TYPES) =:= true,
P = #parms{tab = DT, warn = Warn, file = File, line = 0},
ExportedTypes = [Name ||
{export_type,Ts} <- Module#module.attributes,