aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-02-07 11:30:13 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-02-07 11:30:13 +0100
commit76181f2e146dea3638e70a8636690ab8b4397c70 (patch)
tree0db0d57e210b7aefe5b451e690117c2d625dd88a /lib/compiler
parent60246d149deef631366bdca8605a8cf323427cc7 (diff)
parentb31a985383d1d641b4d05439c9e30a2f5958dd93 (diff)
downloadotp-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/compiler')
-rw-r--r--lib/compiler/test/map_SUITE.erl1
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}),