summaryrefslogtreecommitdiff
path: root/lib/stdlib/src/proplists.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stdlib/src/proplists.erl')
-rw-r--r--lib/stdlib/src/proplists.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/proplists.erl b/lib/stdlib/src/proplists.erl
index 8f25229cdd..a1198a972a 100644
--- a/lib/stdlib/src/proplists.erl
+++ b/lib/stdlib/src/proplists.erl
@@ -643,7 +643,7 @@ apply_stages(L, []) ->
Rest :: [term()].
split(List, Keys) ->
- {Store, Rest} = split(List, maps:from_list([{K, []} || K <- Keys]), []),
+ {Store, Rest} = split(List, #{K => [] || K <- Keys}, []),
{[lists:reverse(map_get(K, Store)) || K <- Keys],
lists:reverse(Rest)}.