aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-11-15 16:47:13 +0100
committerHans Bolinder <[email protected]>2017-11-15 16:47:13 +0100
commitd332dcea887f9f13726bb31c1b70ae7c4c98cade (patch)
tree600811ab7749c4b099ed884dc513bf136d139386
parent41e6eaa01031284c6d0f89eee031593f77953c1d (diff)
parent8c7b86083be0f86f62918b73117121617624ec48 (diff)
downloadotp-d332dcea887f9f13726bb31c1b70ae7c4c98cade.tar.gz
otp-d332dcea887f9f13726bb31c1b70ae7c4c98cade.tar.bz2
otp-d332dcea887f9f13726bb31c1b70ae7c4c98cade.zip
Merge branch 'maint'
* maint: edoc: The map type is denoted map()
-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 26b7202462..7b451c43f8 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) ->