Actions
Bug #5204
closed`defined?(@@foo) && @foo` may fail
Description
defined?(@@foo) doesn't use the correct cbase.
See https://github.com/ruby/ruby/pull/44 for test and patch.
Updated by shyouhei (Shyouhei Urabe) over 13 years ago
- Category set to YARV
- Status changed from Open to Assigned
- Assignee set to ko1 (Koichi Sasada)
- Priority changed from Normal to 5
- Target version set to 1.9.3
Hi ko1, what do you think?
Updated by ko1 (Koichi Sasada) over 13 years ago
- ruby -v changed from ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0] to -
Hi,
Thank you Magnus for your reporting and a patch.
I apply it.
Yugui-san:
I think it can be applied to 1.9.3.
(2011/08/22 4:47), Shyouhei Urabe wrote:
defined?(@@foo) doesn't use the correct cbase.
See https://github.com/ruby/ruby/pull/44 for test and patch.
--
// SASADA Koichi at atdot dot net
Updated by ko1 (Koichi Sasada) over 13 years ago
- Status changed from Assigned to Closed
Fixed by r33045 on trunk. not applied to 1.9.3.
Yugui-san: Should I commit it?
Updated by sorah (Sorah Fukumori) over 13 years ago
Backported to ruby_1_9_3 at r33068.
Actions
Like0
Like0Like0Like0Like0