diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/compiler/src/core_parse.hrl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/compiler/src/core_parse.hrl b/lib/compiler/src/core_parse.hrl index 067a1ae895..d54715ef59 100644 --- a/lib/compiler/src/core_parse.hrl +++ b/lib/compiler/src/core_parse.hrl @@ -98,8 +98,9 @@ -record(c_var, {anno=[], name :: cerl:var_name()}). -record(c_map_pair, {anno=[], - op :: 'assoc' | 'exact', - key, val}). + op :: #c_literal{val::'assoc'} | #c_literal{val::'exact'}, + key, + val}). -record(c_map, {anno=[], var=#c_literal{val=[]} :: #c_var{} | #c_literal{}, |