Skip to content

Commit

Permalink
Merge branch 'isabell/stdlib/eval-doc-fix/OTP-19184'
Browse files Browse the repository at this point in the history
* isabell/stdlib/eval-doc-fix/OTP-19184:
  Fix since version for erl_eval:new_bindings/1
  • Loading branch information
lucioleKi committed Feb 10, 2025
2 parents b27c37c + 8099283 commit 29138f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stdlib/src/erl_eval.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1894,7 +1894,6 @@ match_list(_, _, _Anno, _Bs, _BBs, _Ef) ->
%% add_binding(Name, Value, Bindings)
%% del_binding(Name, Bindings)

-doc #{since => ~"OTP @OTP-19184@"}.
-doc "Returns an empty binding structure.".
-spec(new_bindings() -> binding_struct()).
new_bindings() -> orddict:new().
Expand Down Expand Up @@ -1986,6 +1985,7 @@ merge_bindings(Bs1, Bs2, Anno, Ef) ->
end end,
Bs2, orddict:to_list(Bs1)).

-doc #{since => ~"OTP @OTP-19184@"}.
-spec(new_bindings(binding_struct()) -> binding_struct()).
new_bindings(Bs) when is_map(Bs) -> maps:new();
new_bindings(Bs) when is_list(Bs) -> orddict:new().
Expand Down

0 comments on commit 29138f5

Please sign in to comment.