Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
0608-Call-erlang-error-2-with-the-actual-args-i...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0608-Call-erlang-error-2-with-the-actual-args-in-erl_anno.patch of Package erlang
From 6a1a74010ffa928dcdf36d23ab3ea0fee27ef8eb Mon Sep 17 00:00:00 2001 From: Radek Szymczyszyn <radoslaw.szymczyszyn@erlang-solutions.com> Date: Fri, 16 Dec 2022 20:17:51 +0100 Subject: [PATCH] Call erlang:error/2 with the actual args in erl_anno:anno_info/2,3 --- lib/stdlib/src/erl_anno.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/stdlib/src/erl_anno.erl b/lib/stdlib/src/erl_anno.erl index d0310f52e2..61718bc8d9 100644 --- a/lib/stdlib/src/erl_anno.erl +++ b/lib/stdlib/src/erl_anno.erl @@ -361,7 +361,7 @@ anno_info(Anno, Item, Default) -> Value catch _:_ -> - erlang:error(badarg, [Anno]) + erlang:error(badarg, [Anno, Item, Default]) end. anno_info(Anno, Item) -> @@ -372,7 +372,7 @@ anno_info(Anno, Item) -> undefined catch _:_ -> - erlang:error(badarg, [Anno]) + erlang:error(badarg, [Anno, Item]) end. end_location("", Line, Column) -> -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor