diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-02-07 11:30:13 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-02-07 11:30:13 +0100 |
commit | 76181f2e146dea3638e70a8636690ab8b4397c70 (patch) | |
tree | 0db0d57e210b7aefe5b451e690117c2d625dd88a /lib | |
parent | 60246d149deef631366bdca8605a8cf323427cc7 (diff) | |
parent | b31a985383d1d641b4d05439c9e30a2f5958dd93 (diff) | |
download | otp-76181f2e146dea3638e70a8636690ab8b4397c70.tar.gz otp-76181f2e146dea3638e70a8636690ab8b4397c70.tar.bz2 otp-76181f2e146dea3638e70a8636690ab8b4397c70.zip |
Merge branch 'egil/erts/fix-maps-beam_load'
* egil/erts/fix-maps-beam_load:
compiler: Update map_SUITE with error case test
erts: Maps must fail on exact updates of empty Maps
erts: Fix Maps for beam_load
Diffstat (limited to 'lib')
-rw-r--r-- | lib/compiler/test/map_SUITE.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler/test/map_SUITE.erl b/lib/compiler/test/map_SUITE.erl index 0ba5d5dd0d..dc880a7a9d 100644 --- a/lib/compiler/test/map_SUITE.erl +++ b/lib/compiler/test/map_SUITE.erl @@ -215,6 +215,7 @@ t_update_exact(Config) when is_list(Config) -> M2 = M0#{3=>wrong,3.0:=new}, %% Errors cases. + {'EXIT',{badarg,_}} = (catch ((id(nil))#{ a := b })), {'EXIT',{badarg,_}} = (catch M0#{nonexisting:=val}), {'EXIT',{badarg,_}} = (catch M0#{1.0:=v,1.0=>v2}), {'EXIT',{badarg,_}} = (catch M0#{42.0:=v,42:=v2}), |