
23 May
2025
23 May
'25
8:15 a.m.
Issue #21316 has been updated by ko1 (Koichi Sasada). FYI: Java's case "OBJ09-J. Compare classes and not class names" https://wiki.sei.cmu.edu/confluence/display/java/OBJ09-J.+Compare+classes+an... ---------------------------------------- Bug #21316: Namespaces leak with permanent names https://bugs.ruby-lang.org/issues/21316#change-113392 * Author: fxn (Xavier Noria) * Status: Open * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN ---------------------------------------- Namespaces are not transparent for this program ```ruby C = Class.new C.name == 'C' ``` because under a non-main user namespace, the name of `C` has the namespace as a prefix. -- https://bugs.ruby-lang.org/