diff options
Diffstat (limited to 'lib/stdlib/src/qlc.erl')
-rw-r--r-- | lib/stdlib/src/qlc.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/qlc.erl b/lib/stdlib/src/qlc.erl index cc4a988552..fab7207d13 100644 --- a/lib/stdlib/src/qlc.erl +++ b/lib/stdlib/src/qlc.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2004-2021. All Rights Reserved. +%% Copyright Ericsson AB 2004-2023. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -1326,7 +1326,7 @@ abstr_term(PPR, Anno) when is_pid(PPR); is_port(PPR); is_reference(PPR) -> abstr_term(Map, Anno) when is_map(Map) -> {map,Anno, [{map_field_assoc,Anno,abstr_term(K, Anno),abstr_term(V, Anno)} || - {K,V} <- maps:to_list(Map)]}; + K := V <- Map]}; abstr_term(Simple, Anno) -> erl_parse:abstract(Simple, erl_anno:line(Anno)). |