diff options
author | Björn Gustavsson <[email protected]> | 2015-01-27 13:42:31 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-01-28 11:59:53 +0100 |
commit | 440c54f6a6b78015e8c8e0c7d16ad3cbb3d22147 (patch) | |
tree | 232502616859bd1c428c4f17cc867bc27c7faff0 /bootstrap/lib/compiler/ebin/beam_dict.beam | |
parent | 4a3ad317ec6ebe02ad1ecc8a4132896c333ba742 (diff) | |
download | otp-440c54f6a6b78015e8c8e0c7d16ad3cbb3d22147.tar.gz otp-440c54f6a6b78015e8c8e0c7d16ad3cbb3d22147.tar.bz2 otp-440c54f6a6b78015e8c8e0c7d16ad3cbb3d22147.zip |
core_pp: Correct printing of map literals
A map key in a pattern would be incorrectly pretty-printed.
As an example, the pattern in:
x() ->
#{ #{ a => 3 } := 42 } = X.
would be pretty-printed as:
<~{~<~{~<'a',3>}~,42>}~
instead of:
<~{~<~{::<'a',3>}~,42>}~
When this problem has been corrected, the workaround for it in
cerl:ann_c_map/3 can be removed. The workaround was not harmless,
as it would cause the following map update to incorrectly succeed:
(#{})#{a:=1}
Diffstat (limited to 'bootstrap/lib/compiler/ebin/beam_dict.beam')
0 files changed, 0 insertions, 0 deletions