aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-01-18 09:15:38 +0100
committerHans Bolinder <[email protected]>2016-01-18 09:15:38 +0100
commit5c41dbbbb2b1d57f672899f0b13fe0d71686ceb9 (patch)
treec1d83781450f8f47931ade833718384739247d99
parent48f225fbdf7ce87297a3ac61d9c85dc2f598c953 (diff)
parent3d1716e8f4c5fafbddc4e50bc93456398e9cc209 (diff)
downloadotp-5c41dbbbb2b1d57f672899f0b13fe0d71686ceb9.tar.gz
otp-5c41dbbbb2b1d57f672899f0b13fe0d71686ceb9.tar.bz2
otp-5c41dbbbb2b1d57f672899f0b13fe0d71686ceb9.zip
Merge branch 'maint'
* maint: edoc: Assign correct names to list arguments
-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) ->