aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-09-29 19:01:21 +0200
committerBjörn-Egil Dahlberg <[email protected]>2014-09-29 19:01:21 +0200
commitfda56bc568c97a6c77092a6e8ecc4219a6fac0c0 (patch)
tree894d0910616fa927f077c8ba0e70f263940d8f20 /lib
parent6b240f6d882a10707ff2dea4e171a2d9599b3746 (diff)
downloadotp-fda56bc568c97a6c77092a6e8ecc4219a6fac0c0.tar.gz
otp-fda56bc568c97a6c77092a6e8ecc4219a6fac0c0.tar.bz2
otp-fda56bc568c97a6c77092a6e8ecc4219a6fac0c0.zip
stdlib: Handle key type expressions
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/src/erl_pp.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/erl_pp.erl b/lib/stdlib/src/erl_pp.erl
index 3dbb5ab64c..1fd6d2a8df 100644
--- a/lib/stdlib/src/erl_pp.erl
+++ b/lib/stdlib/src/erl_pp.erl
@@ -300,7 +300,7 @@ map_pair_types(Fs) ->
tuple_type(Fs, fun map_pair_type/1).
map_pair_type({type,_Line,map_field_assoc,Ktype,Vtype}) ->
- map_assoc_typed(lexpr(Ktype, options(none)), Vtype).
+ map_assoc_typed(ltype(Ktype), Vtype).
map_assoc_typed(B, {type,_,union,Ts}) ->
{first,[B,$\s],{seq,[],[],[],map_assoc_union_type(Ts)}};