diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-03-18 12:17:47 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-03-18 12:17:47 +0100 |
commit | 8d66a2823c29cbe44cf80e4de0c58f2ed5c29bd4 (patch) | |
tree | 9e15b0d71d52176905fd1c45fe1160b09be07dfd /lib/stdlib/test/erl_eval_SUITE.erl | |
parent | fb0a5a669e43590de66d662b99c2762e596c01e3 (diff) | |
parent | 4185be0ad649bccb15bb67a15b618b6cc14fe253 (diff) | |
download | otp-8d66a2823c29cbe44cf80e4de0c58f2ed5c29bd4.tar.gz otp-8d66a2823c29cbe44cf80e4de0c58f2ed5c29bd4.tar.bz2 otp-8d66a2823c29cbe44cf80e4de0c58f2ed5c29bd4.zip |
Merge branch 'nox/maps-eval-empty-update'
* nox/maps-eval-empty-update:
Fix evaluation of empty map patterns in erl_lint
Fix evaluation of empty map updates in the debugger
Fix evaluation of empty map updates in erl_eval
Diffstat (limited to 'lib/stdlib/test/erl_eval_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/erl_eval_SUITE.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stdlib/test/erl_eval_SUITE.erl b/lib/stdlib/test/erl_eval_SUITE.erl index e6512b7d71..b91d14b5b8 100644 --- a/lib/stdlib/test/erl_eval_SUITE.erl +++ b/lib/stdlib/test/erl_eval_SUITE.erl @@ -1451,6 +1451,8 @@ 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]}), + error_check("#{} = 1.", {badmatch,1}), ok. %% Check the string in different contexts: as is; in fun; from compiled code. |