From: "drbrain (Eric Hodel)" Date: 2012-05-19T08:56:47+09:00 Subject: [ruby-core:45138] [ruby-trunk - Bug #6454] Anonymous classes should delete tmp_classpath on dup Issue #6454 has been updated by drbrain (Eric Hodel). File rb_mod_init_copy.bug6454.patch added This patch fixes the name of dup'd anonymous classes (and modules). ---------------------------------------- Bug #6454: Anonymous classes should delete tmp_classpath on dup https://bugs.ruby-lang.org/issues/6454#change-26711 Author: tenderlovemaking (Aaron Patterson) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 2.0.0dev (2012-05-19 trunk 35705) [x86_64-darwin11.4.0] When an anonymous class is duped, it should delete tmp_classpath from the iv table so that subsequent calls to `inspect` on the duped class will have different results. I've attached a test case to demonstrate the problem. -- http://bugs.ruby-lang.org/