Issue #5204 has been updated by Shota Fukumori.


Backported to ruby_1_9_3 at r33068.
----------------------------------------
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