CARVIEW |
Select Language
HTTP/2 200
x-amz-id-2: 64n+Scy2Z08JC8KRcAHSE1IXh2x0DgPRGN4dkBoJXPgaisgIlGNYzBlvAj0B8S3qhiQHbQJAIsqEFkCs9napVfAmleZhEbfo92RkSEYgXQE=
x-amz-request-id: Y8TKQN4363QWR9X4
last-modified: Fri, 09 May 2025 22:11:00 GMT
etag: "87832f5120133fbe60f83e7d1e6468aa"
x-amz-server-side-encryption: AES256
server: AmazonS3
content-encoding: gzip
via: 1.1 varnish, 1.1 varnish
content-type: text/plain; charset=utf-8
accept-ranges: bytes
age: 0
date: Sun, 27 Jul 2025 21:17:27 GMT
x-served-by: cache-tyo11929-TYO, cache-bom-vanm7210046-BOM
x-cache: MISS, MISS
x-cache-hits: 0, 0
x-timer: S1753651048.584784,VS0,VE302
vary: Accept-Encoding
content-length: 474
From: "fxn (Xavier Noria) via ruby-core"
Date: 2025-05-09T22:05:47+00:00
Subject: [ruby-core:121950] [Ruby Bug#21316] Namespaces leak with permanent names
Issue #21316 has been reported by fxn (Xavier Noria).
----------------------------------------
Bug #21316: Namespaces leak with permanent names
https://bugs.ruby-lang.org/issues/21316
* 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/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/