Project

General

Profile

Actions

Bug #5204

closed

`defined?(@@foo) && @foo` may fail

Added by judofyr (Magnus Holm) over 13 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
-
Backport:
[ruby-core:39022]

Description

defined?(@@foo) doesn't use the correct cbase.

See https://github.com/ruby/ruby/pull/44 for test and patch.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0