Project

General

Profile

Actions

Bug #12089

closed

Raise not stable NameError

Added by alpaca-tc (Hiroyuki Ishii) almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
2.3.0
Backport:
[ruby-dev:49498]

Description

Is this intentional?

irb(main):001:0> Object.const_get('A')
NameError: uninitialized constant Object::A
irb(main):002:0> :A
=> :A
irb(main):003:0> Object.const_get('A')
NameError: uninitialized constant A
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0