diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-08-18 18:32:54 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-08-22 18:12:29 +0200 |
commit | ef6d25edd8e7975d20d5ac68ef89524743a245ea (patch) | |
tree | d81cc0a4194ef2474f6878abb931f968e1404ff6 /lib/compiler/src/beam_utils.erl | |
parent | db2f7bc3392196509a3c5a9e19f78f8bf6b30e2c (diff) | |
download | otp-ef6d25edd8e7975d20d5ac68ef89524743a245ea.tar.gz otp-ef6d25edd8e7975d20d5ac68ef89524743a245ea.tar.bz2 otp-ef6d25edd8e7975d20d5ac68ef89524743a245ea.zip |
compiler: Normalize unary ops on Maps key literals
Unary ops are normalized before core transformation, i.e. handle
negative integers as map keys.
Strictly speaking, map keys are expressions but by handling them as
patterns we can normalize negative integers.
Diffstat (limited to 'lib/compiler/src/beam_utils.erl')
0 files changed, 0 insertions, 0 deletions