aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-11-15 16:39:33 +0100
committerHans Bolinder <[email protected]>2017-11-15 16:39:33 +0100
commit8c7b86083be0f86f62918b73117121617624ec48 (patch)
tree17a678362f5fd50723d927e6a630d8102b825eec /lib
parent5d54bc33107d8a92bff35047d1b347d4c3b7434c (diff)
parentdd53a1425f859d8558133fea141528c5c4476f0d (diff)
downloadotp-8c7b86083be0f86f62918b73117121617624ec48.tar.gz
otp-8c7b86083be0f86f62918b73117121617624ec48.tar.bz2
otp-8c7b86083be0f86f62918b73117121617624ec48.zip
Merge branch 'hasse/edoc/fix_map_type/OTP-14777' into maint
* hasse/edoc/fix_map_type/OTP-14777: edoc: The map type is denoted map()
Diffstat (limited to 'lib')
-rw-r--r--lib/edoc/src/edoc_specs.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/edoc/src/edoc_specs.erl b/lib/edoc/src/edoc_specs.erl
index fb04bfce0e..4e45e42f20 100644
--- a/lib/edoc/src/edoc_specs.erl
+++ b/lib/edoc/src/edoc_specs.erl
@@ -372,7 +372,7 @@ d2e({type,_,binary,[Base,Unit]}, _Prec) ->
{integer,_,U} = erl_eval:partial_eval(Unit),
#t_binary{base_size = B, unit_size = U};
d2e({type,_,map,any}, _Prec) ->
- #t_map{types = []};
+ #t_type{name = #t_name{name = map}, args = []};
d2e({type,_,map,Es}, _Prec) ->
#t_map{types = d2e(Es) };
d2e({type,_,map_field_assoc,[K,V]}, Prec) ->