diff options
author | Anthony Ramine <[email protected]> | 2014-03-04 20:17:33 +0100 |
---|---|---|
committer | Anthony Ramine <[email protected]> | 2014-03-04 20:32:49 +0100 |
commit | ee03d24a84ca995a0403a385b0d808e5abce6b32 (patch) | |
tree | b2d429333e51708100064792c2b5bdf4ab2a21fd /lib/compiler/src/beam_clean.erl | |
parent | a74e66a68f3b4ed590f928b4fd4f0808c6287a32 (diff) | |
download | otp-ee03d24a84ca995a0403a385b0d808e5abce6b32.tar.gz otp-ee03d24a84ca995a0403a385b0d808e5abce6b32.tar.bz2 otp-ee03d24a84ca995a0403a385b0d808e5abce6b32.zip |
Properly sort map pairs in v3_codegen
Literal nil values aren't tagged tuple but the bare atom nil.
The function lists:sort/2 expects the passed function to return true if the first
element is less than or equal to the second, not strictly less than. The original
base clause is changed accordingly.
Reported-by: Ulf Norell
Diffstat (limited to 'lib/compiler/src/beam_clean.erl')
0 files changed, 0 insertions, 0 deletions