From: nobu@... Date: 2019-08-13T23:48:52+00:00 Subject: [ruby-core:94330] [Ruby master Bug#16097] [PATCH] Don't accidentally name anonymous module/class Issue #16097 has been updated by nobu (Nobuyoshi Nakada). Could you rebase the PR with adding this reference `[Bug #16097]` to the commit log? ---------------------------------------- Bug #16097: [PATCH] Don't accidentally name anonymous module/class https://bugs.ruby-lang.org/issues/16097#change-80722 * 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: