diff options
author | Hans Bolinder <[email protected]> | 2017-11-15 16:47:13 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2017-11-15 16:47:13 +0100 |
commit | d332dcea887f9f13726bb31c1b70ae7c4c98cade (patch) | |
tree | 600811ab7749c4b099ed884dc513bf136d139386 /lib/edoc/src/edoc_specs.erl | |
parent | 41e6eaa01031284c6d0f89eee031593f77953c1d (diff) | |
parent | 8c7b86083be0f86f62918b73117121617624ec48 (diff) | |
download | otp-d332dcea887f9f13726bb31c1b70ae7c4c98cade.tar.gz otp-d332dcea887f9f13726bb31c1b70ae7c4c98cade.tar.bz2 otp-d332dcea887f9f13726bb31c1b70ae7c4c98cade.zip |
Merge branch 'maint'
* maint:
edoc: The map type is denoted map()
Diffstat (limited to 'lib/edoc/src/edoc_specs.erl')
-rw-r--r-- | lib/edoc/src/edoc_specs.erl | 2 |
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) -> |