aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc/src/edoc_specs.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-01-14 10:35:01 +0100
committerHans Bolinder <[email protected]>2016-01-18 09:08:49 +0100
commit898b4e182837ad5540afe6dad389d193a64f6a38 (patch)
tree86b92c900a89af041c7521cb4096f631a65b2bd0 /lib/edoc/src/edoc_specs.erl
parente8e62f6de3919799d87f9d8805e75390b16b4eba (diff)
downloadotp-898b4e182837ad5540afe6dad389d193a64f6a38.tar.gz
otp-898b4e182837ad5540afe6dad389d193a64f6a38.tar.bz2
otp-898b4e182837ad5540afe6dad389d193a64f6a38.zip
edoc: Assign correct names to list arguments
Bug reported by Josemic. See also ERL-63.
Diffstat (limited to 'lib/edoc/src/edoc_specs.erl')
-rw-r--r--lib/edoc/src/edoc_specs.erl6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/edoc/src/edoc_specs.erl b/lib/edoc/src/edoc_specs.erl
index bb98e8b04f..f2e5891c2e 100644
--- a/lib/edoc/src/edoc_specs.erl
+++ b/lib/edoc/src/edoc_specs.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2015. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2016. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -270,12 +270,8 @@ parms([], []) ->
parms([A | As], [D | Ds]) ->
[param(A, D) | parms(As, Ds)].
-param(#t_list{type = Type}, Default) ->
- param(Type, Default);
param(#t_paren{type = Type}, Default) ->
param(Type, Default);
-param(#t_nonempty_list{type = Type}, Default) ->
- param(Type, Default);
param(#t_record{name = #t_atom{val = Name}}, _Default) ->
list_to_atom(capitalize(atom_to_list(Name)));
param(T, Default) ->