From: XrXr@... Date: 2019-08-14T01:23:44+00:00 Subject: [ruby-core:94333] [Ruby master Bug#16097] [PATCH] Don't accidentally name anonymous module/class Issue #16097 has been updated by alanwu (Alan Wu). Done. The [latest commit](https://github.com/ruby/ruby/pull/2337/commits/36e00760a42a09266521fc503a0bda7af632a4e3) has a reference to this ticket. ---------------------------------------- Bug #16097: [PATCH] Don't accidentally name anonymous module/class https://bugs.ruby-lang.org/issues/16097#change-80725 * Author: alanwu (Alan Wu) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- My patch in #15765 accidentally introduced a behavior change. `ruby -ve 'Module.new { class self::A; end; p name }'` outputs a name similar to `Module#inspect` when it should output `nil` like in Ruby 2.6.x. I have a pull request to fix this: https://github.com/ruby/ruby/pull/2337 -- https://bugs.ruby-lang.org/ Unsubscribe: