Skip to content

Commit 3bbd252

Browse files
committed
Handle the map() type in documentation
1 parent 0b13e53 commit 3bbd252

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/make_doc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#!/usr/bin/env escript
22

3-
%%% -*- coding: utf-8 -*-
4-
%%% -*- erlang-indent-level: 2 -*-
3+
%%% -*- coding: utf-8; erlang-indent-level: 2 -*-
54
%%% -------------------------------------------------------------------
6-
%%% Copyright 2010-2020 Manolis Papadakis <[email protected]>,
5+
%%% Copyright 2010-2022 Manolis Papadakis <[email protected]>,
76
%%% Eirini Arvaniti <[email protected]>
87
%%% and Kostis Sagonas <[email protected]>
98
%%%
@@ -354,6 +353,8 @@ replace({Kind,Line,Args}, Alias, Value) when Kind =:= ann_type
354353
{Kind, Line, NewArgs};
355354
replace(Type = {type,_Line,tuple,any}, _Alias, _Value) ->
356355
Type;
356+
replace(Type = {type,_Line,map,any}, _Alias, _Value) ->
357+
Type;
357358
replace({type,_Line,SameName,Args}, Alias = {type,SameName,Arity},
358359
Value = {TypeForm,VarForms}) when length(Args) =:= Arity ->
359360
FixedArgs = [replace(Arg,Alias,Value) || Arg <- Args],

0 commit comments

Comments
 (0)