Project

General

Profile

Actions

Bug #21316

open

Namespaces leak with permanent names

Added by fxn (Xavier Noria) 1 day ago. Updated about 15 hours ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:121950]

Description

Namespaces are not transparent for this program

C = Class.new
C.name == 'C'

because under a non-main user namespace, the name of C has the namespace as a prefix.

Actions

Also available in: Atom PDF

Like1
Like1Like0Like0