* [ruby-core:45269] [ruby-trunk - Bug #6501][Open] Documentation for Exception#set_backtrace is incorrect
@ 2012-05-26 16:42 djberg96 (Daniel Berger)
2012-05-27 10:26 ` [ruby-core:45276] [ruby-trunk - Bug #6501][Assigned] " mame (Yusuke Endoh)
0 siblings, 1 reply; 3+ messages in thread
From: djberg96 (Daniel Berger) @ 2012-05-26 16:42 UTC (permalink / raw
To: ruby-core
Issue #6501 has been reported by djberg96 (Daniel Berger).
----------------------------------------
Bug #6501: Documentation for Exception#set_backtrace is incorrect
https://bugs.ruby-lang.org/issues/6501
Author: djberg96 (Daniel Berger)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin10.8.0]
The documentation for Exception#set_backtrace is incorrect. It currently says that its argument must be an array of strings.
/*
* call-seq:
* exc.set_backtrace(array) -> array
*
* Sets the backtrace information associated with <i>exc</i>. The
* argument must be an array of <code>String</code> objects in the
* format described in <code>Exception#backtrace</code>.
*/
In fact, it will also accept a single string as an argument, which is a good thing, since it let's me do stuff like "raise SystemCallError, FFI.errno, 'some_function'". Otherwise I would have to use ['some_function'], which would be annoying.
--
http://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-core:45276] [ruby-trunk - Bug #6501][Assigned] Documentation for Exception#set_backtrace is incorrect
2012-05-26 16:42 [ruby-core:45269] [ruby-trunk - Bug #6501][Open] Documentation for Exception#set_backtrace is incorrect djberg96 (Daniel Berger)
@ 2012-05-27 10:26 ` mame (Yusuke Endoh)
2012-05-27 12:20 ` [ruby-core:45277] " SASADA Koichi
0 siblings, 1 reply; 3+ messages in thread
From: mame (Yusuke Endoh) @ 2012-05-27 10:26 UTC (permalink / raw
To: ruby-core
Issue #6501 has been updated by mame (Yusuke Endoh).
Status changed from Open to Assigned
Assignee set to drbrain (Eric Hodel)
Hello drbrain,
Could you treat this?
ko1, tell us if you have any opinion (or objection) about this.
--
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
Bug #6501: Documentation for Exception#set_backtrace is incorrect
https://bugs.ruby-lang.org/issues/6501#change-26854
Author: djberg96 (Daniel Berger)
Status: Assigned
Priority: Normal
Assignee: drbrain (Eric Hodel)
Category:
Target version:
ruby -v: ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin10.8.0]
The documentation for Exception#set_backtrace is incorrect. It currently says that its argument must be an array of strings.
/*
* call-seq:
* exc.set_backtrace(array) -> array
*
* Sets the backtrace information associated with <i>exc</i>. The
* argument must be an array of <code>String</code> objects in the
* format described in <code>Exception#backtrace</code>.
*/
In fact, it will also accept a single string as an argument, which is a good thing, since it let's me do stuff like "raise SystemCallError, FFI.errno, 'some_function'". Otherwise I would have to use ['some_function'], which would be annoying.
--
http://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-core:45277] Re: [ruby-trunk - Bug #6501][Assigned] Documentation for Exception#set_backtrace is incorrect
2012-05-27 10:26 ` [ruby-core:45276] [ruby-trunk - Bug #6501][Assigned] " mame (Yusuke Endoh)
@ 2012-05-27 12:20 ` SASADA Koichi
0 siblings, 0 replies; 3+ messages in thread
From: SASADA Koichi @ 2012-05-27 12:20 UTC (permalink / raw
To: ruby-core
(2012/05/27 19:26), mame (Yusuke Endoh) wrote:
> ko1, tell us if you have any opinion (or objection) about this.
I don't have any opinion about it.
--
// SASADA Koichi at atdot dot net
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-05-27 12:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-26 16:42 [ruby-core:45269] [ruby-trunk - Bug #6501][Open] Documentation for Exception#set_backtrace is incorrect djberg96 (Daniel Berger)
2012-05-27 10:26 ` [ruby-core:45276] [ruby-trunk - Bug #6501][Assigned] " mame (Yusuke Endoh)
2012-05-27 12:20 ` [ruby-core:45277] " SASADA Koichi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).