From: Koichi Sasada Date: 2011-08-25T08:16:48+09:00 Subject: [ruby-core:39100] [Ruby 1.9 - Bug #5204][Closed] `defined?(@@foo) && @foo` may fail Issue #5204 has been updated by Koichi Sasada. Status changed from Assigned to Closed Fixed by r33045 on trunk. not applied to 1.9.3. Yugui-san: Should I commit it? ---------------------------------------- Bug #5204: `defined?(@@foo) && @foo` may fail http://redmine.ruby-lang.org/issues/5204 Author: Magnus Holm Status: Closed Priority: High Assignee: Koichi Sasada Category: YARV Target version: 1.9.3 ruby -v: - defined?(@@foo) doesn't use the correct cbase. See https://github.com/ruby/ruby/pull/44 for test and patch. -- http://redmine.ruby-lang.org