aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/src
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2018-05-30 12:52:42 +0200
committerHans Bolinder <[email protected]>2018-05-30 12:52:42 +0200
commitd129131ee8ffda4713f807e6148b601c16f1b0bb (patch)
treed77697de63d04129449db7b4b4f3fe785ae5b7d1 /lib/syntax_tools/src
parent4f91c8a34f4cc2c728a63e8d218566b3b3795b10 (diff)
downloadotp-d129131ee8ffda4713f807e6148b601c16f1b0bb.tar.gz
otp-d129131ee8ffda4713f807e6148b601c16f1b0bb.tar.bz2
otp-d129131ee8ffda4713f807e6148b601c16f1b0bb.zip
syntax_tools: Fix a bug regarding reverting map types.
Diffstat (limited to 'lib/syntax_tools/src')
-rw-r--r--lib/syntax_tools/src/erl_syntax.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/syntax_tools/src/erl_syntax.erl b/lib/syntax_tools/src/erl_syntax.erl
index b816c0699c..029f1e88ac 100644
--- a/lib/syntax_tools/src/erl_syntax.erl
+++ b/lib/syntax_tools/src/erl_syntax.erl
@@ -5328,7 +5328,7 @@ revert_map_type_assoc(Node) ->
Pos = get_pos(Node),
Name = map_type_assoc_name(Node),
Value = map_type_assoc_value(Node),
- {type, Pos, map_type_assoc, [Name, Value]}.
+ {type, Pos, map_field_assoc, [Name, Value]}.
%% =====================================================================
@@ -5386,7 +5386,7 @@ revert_map_type_exact(Node) ->
Pos = get_pos(Node),
Name = map_type_exact_name(Node),
Value = map_type_exact_value(Node),
- {type, Pos, map_type_exact, [Name, Value]}.
+ {type, Pos, map_field_exact, [Name, Value]}.
%% =====================================================================