aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-04-03 15:36:50 +0200
committerBjörn-Egil Dahlberg <[email protected]>2014-04-03 15:36:50 +0200
commite26dbc750fdd207c852bf9006668c5771f465dcf (patch)
tree4dd86a8fedc955cd09f2e021827efdd73ecf694c /lib
parent7b11f5a2608ea2a539454fe8f14e4d24d3a0170f (diff)
downloadotp-e26dbc750fdd207c852bf9006668c5771f465dcf.tar.gz
otp-e26dbc750fdd207c852bf9006668c5771f465dcf.tar.bz2
otp-e26dbc750fdd207c852bf9006668c5771f465dcf.zip
stdlib: Fix erl_id_trans example
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/examples/erl_id_trans.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/examples/erl_id_trans.erl b/lib/stdlib/examples/erl_id_trans.erl
index 5fcb74310e..e71e26e51a 100644
--- a/lib/stdlib/examples/erl_id_trans.erl
+++ b/lib/stdlib/examples/erl_id_trans.erl
@@ -148,7 +148,7 @@ pattern({map,Line,Ps0}) ->
Ps1 = pattern_list(Ps0),
{map,Line,Ps1};
pattern({map_field_exact,Line,K,V}) ->
- Ke = pattern(K),
+ Ke = expr(K),
Ve = pattern(V),
{map_field_exact,Line,Ke,Ve};
%%pattern({struct,Line,Tag,Ps0}) ->