aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/test/int_eval_SUITE_data/my_int_eval_module.erl
diff options
context:
space:
mode:
authorAnthony Ramine <[email protected]>2014-03-08 18:12:13 +0100
committerAnthony Ramine <[email protected]>2014-03-15 21:27:23 +0100
commit5bc10a4ed286247274efa338b7d82b2d1f5534d6 (patch)
treeb0d976eef8038db6c0e7d4afe2c46d9809abe4fd /lib/debugger/test/int_eval_SUITE_data/my_int_eval_module.erl
parent766b8d3877a9c304e61828af4f376c5c4fb70a8e (diff)
downloadotp-5bc10a4ed286247274efa338b7d82b2d1f5534d6.tar.gz
otp-5bc10a4ed286247274efa338b7d82b2d1f5534d6.tar.bz2
otp-5bc10a4ed286247274efa338b7d82b2d1f5534d6.zip
Fix evaluation of empty map updates in the debugger
Diffstat (limited to 'lib/debugger/test/int_eval_SUITE_data/my_int_eval_module.erl')
-rw-r--r--lib/debugger/test/int_eval_SUITE_data/my_int_eval_module.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/debugger/test/int_eval_SUITE_data/my_int_eval_module.erl b/lib/debugger/test/int_eval_SUITE_data/my_int_eval_module.erl
index ab485fd350..e047a33d8c 100644
--- a/lib/debugger/test/int_eval_SUITE_data/my_int_eval_module.erl
+++ b/lib/debugger/test/int_eval_SUITE_data/my_int_eval_module.erl
@@ -29,6 +29,7 @@
-export([more_catch/1,more_nocatch/1,exit_me/0]).
-export([f/1, f_try/1, f_catch/1]).
-export([otp_5837/1, otp_8310/0]).
+-export([empty_map_update/1]).
%% Internal exports.
-export([echo/2,my_subtract/2,catch_a_ball/0,throw_a_ball/0]).
@@ -241,3 +242,5 @@ otp_8310() ->
true = begin (X3 = true) orelse X3, X3 end,
false = begin (X4 = false) orelse X4, X4 end,
ok.
+
+empty_map_update(Map) -> Map#{}.