diff options
author | Hans Bolinder <[email protected]> | 2016-01-18 09:14:03 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-01-18 09:14:03 +0100 |
commit | 3d1716e8f4c5fafbddc4e50bc93456398e9cc209 (patch) | |
tree | 86b92c900a89af041c7521cb4096f631a65b2bd0 | |
parent | e8e62f6de3919799d87f9d8805e75390b16b4eba (diff) | |
parent | 898b4e182837ad5540afe6dad389d193a64f6a38 (diff) | |
download | otp-3d1716e8f4c5fafbddc4e50bc93456398e9cc209.tar.gz otp-3d1716e8f4c5fafbddc4e50bc93456398e9cc209.tar.bz2 otp-3d1716e8f4c5fafbddc4e50bc93456398e9cc209.zip |
Merge branch 'hb/edoc/fix_argument_names/OTP-13234' into maint
* hb/edoc/fix_argument_names/OTP-13234:
edoc: Assign correct names to list arguments
-rw-r--r-- | lib/edoc/src/edoc_specs.erl | 6 |
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) -> |