aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-01-28 10:39:14 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-01-29 11:08:50 +0100
commit8bd7113e5b9c53eb29b7211d43f6d8bc2f58eb81 (patch)
tree91d5ceef7d9dff7f5586ac68c1785439bd8721d7 /lib/compiler/src
parent7849ea4d398717bd48bad76c551dcc5322fe39cf (diff)
downloadotp-8bd7113e5b9c53eb29b7211d43f6d8bc2f58eb81.tar.gz
otp-8bd7113e5b9c53eb29b7211d43f6d8bc2f58eb81.tar.bz2
otp-8bd7113e5b9c53eb29b7211d43f6d8bc2f58eb81.zip
compiler: Fixup #map_pair{} spec
Diffstat (limited to 'lib/compiler/src')
-rw-r--r--lib/compiler/src/core_parse.hrl5
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{},