aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test
diff options
context:
space:
mode:
authorAnthony Ramine <[email protected]>2014-03-08 18:12:13 +0100
committerAnthony Ramine <[email protected]>2014-03-14 21:51:51 +0100
commit766b8d3877a9c304e61828af4f376c5c4fb70a8e (patch)
tree7077996e90b271b78fc6e0b40b9287dc7470ad55 /lib/stdlib/test
parent870737ab657433c5e8751255fe3c4d298202d142 (diff)
downloadotp-766b8d3877a9c304e61828af4f376c5c4fb70a8e.tar.gz
otp-766b8d3877a9c304e61828af4f376c5c4fb70a8e.tar.bz2
otp-766b8d3877a9c304e61828af4f376c5c4fb70a8e.zip
Fix evaluation of empty map updates in erl_eval
Diffstat (limited to 'lib/stdlib/test')
-rw-r--r--lib/stdlib/test/erl_eval_SUITE.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stdlib/test/erl_eval_SUITE.erl b/lib/stdlib/test/erl_eval_SUITE.erl
index e6512b7d71..7edf3d20a9 100644
--- a/lib/stdlib/test/erl_eval_SUITE.erl
+++ b/lib/stdlib/test/erl_eval_SUITE.erl
@@ -1451,6 +1451,7 @@ eep43(Config) when is_list(Config) ->
" {Map#{a := B},Map#{a => c},Map#{d => e}} "
"end.",
{#{a => b},#{a => c},#{a => b,d => e}}),
+ error_check("[camembert]#{}.", {badarg,[camembert]}),
ok.
%% Check the string in different contexts: as is; in fun; from compiled code.