diff options
author | Björn Gustavsson <[email protected]> | 2015-03-24 09:29:17 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-04-13 12:37:54 +0200 |
commit | 1414073af81016d54fc9157f2005301b7fcf4fe6 (patch) | |
tree | c9293af0c8375d8e02925d2e0d8f0dee3a52b0d5 /lib/compiler/test/beam_validator_SUITE.erl | |
parent | 529af720ae7b663aa6a1a086b31ba9e3605ff21e (diff) | |
download | otp-1414073af81016d54fc9157f2005301b7fcf4fe6.tar.gz otp-1414073af81016d54fc9157f2005301b7fcf4fe6.tar.bz2 otp-1414073af81016d54fc9157f2005301b7fcf4fe6.zip |
beam_validator: No longer require strict literal term order
The BEAM loader will now sort keys for maps during loading, so
beam_validator should not require the keys to be ordered any order.
However, we must still ensure that literals keys are unique (which
was implicitly guaranteed by the strict ordering requirement).
Diffstat (limited to 'lib/compiler/test/beam_validator_SUITE.erl')
-rw-r--r-- | lib/compiler/test/beam_validator_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/test/beam_validator_SUITE.erl b/lib/compiler/test/beam_validator_SUITE.erl index 1b1c7db0e8..551cf7661b 100644 --- a/lib/compiler/test/beam_validator_SUITE.erl +++ b/lib/compiler/test/beam_validator_SUITE.erl @@ -420,9 +420,9 @@ map_field_lists(Config) -> Errors = do_val(map_field_lists, Config), [{{map_field_lists,x,1}, {{test,has_map_fields,{f,1},{x,0}, - {list,[{atom,z},{atom,a}]}}, + {list,[{atom,a},{atom,a}]}}, 5, - not_strict_order}}, + keys_not_unique}}, {{map_field_lists,y,1}, {{test,has_map_fields,{f,3},{x,0},{list,[]}}, 5, |