* [ruby-core:20086] [Bug #790] Unexpected Behaviour: Fibers as superclass don
@ 2008-11-25 9:22 Florian Gilcher
2008-11-25 9:24 ` [ruby-core:20087] " Florian Gilcher
2008-11-28 15:22 ` [ruby-core:20151] [Bug #790](Closed) " Yukihiro Matsumoto
0 siblings, 2 replies; 3+ messages in thread
From: Florian Gilcher @ 2008-11-25 9:22 UTC (permalink / raw
To: ruby-core
Bug #790: Unexpected Behaviour: Fibers as superclass don
http://redmine.ruby-lang.org/issues/show/790
Author: Florian Gilcher
Status: Open, Priority: Normal
Category: core
This is possibly just undocumented and intended behaviour:
----------------------------------------
http://redmine.ruby-lang.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-core:20087] [Bug #790] Unexpected Behaviour: Fibers as superclass don
2008-11-25 9:22 [ruby-core:20086] [Bug #790] Unexpected Behaviour: Fibers as superclass don Florian Gilcher
@ 2008-11-25 9:24 ` Florian Gilcher
2008-11-28 15:22 ` [ruby-core:20151] [Bug #790](Closed) " Yukihiro Matsumoto
1 sibling, 0 replies; 3+ messages in thread
From: Florian Gilcher @ 2008-11-25 9:24 UTC (permalink / raw
To: ruby-core
Issue #790 has been updated by Florian Gilcher.
Sorry, hit the wrong button:
Fibers as superclass don't call initialize of derived class. This is probably intended, but not documented.
Description by Wolfgang Nádasi-Donner:
The following code...
class Hugo < Fiber
def initialize(&b)
puts "in 'Hugo'" # !!! never executed !!!
super(&b)
end
end
h = Hugo.new{42}
p h
...results in...
>ruby19 myfiber_test.rb
#<Hugo:0xb24ee0>
>Exit code: 0
...which I didn't expect.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/790
----------------------------------------
http://redmine.ruby-lang.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-core:20151] [Bug #790](Closed) Unexpected Behaviour: Fibers as superclass don
2008-11-25 9:22 [ruby-core:20086] [Bug #790] Unexpected Behaviour: Fibers as superclass don Florian Gilcher
2008-11-25 9:24 ` [ruby-core:20087] " Florian Gilcher
@ 2008-11-28 15:22 ` Yukihiro Matsumoto
1 sibling, 0 replies; 3+ messages in thread
From: Yukihiro Matsumoto @ 2008-11-28 15:22 UTC (permalink / raw
To: ruby-core
Issue #790 has been updated by Yukihiro Matsumoto.
Status changed from Open to Closed
% Done changed from 0 to 100
Applied in changeset r20388.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/790
----------------------------------------
http://redmine.ruby-lang.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-28 15:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-25 9:22 [ruby-core:20086] [Bug #790] Unexpected Behaviour: Fibers as superclass don Florian Gilcher
2008-11-25 9:24 ` [ruby-core:20087] " Florian Gilcher
2008-11-28 15:22 ` [ruby-core:20151] [Bug #790](Closed) " Yukihiro Matsumoto
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).