Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Truffle] remove_const doesn't completely clear a module's name #3858
A reduced example is:
In MRI, this prints "Called X". In JRuby+Truffle, this results in a
This is currently a blocker for many cases where rspec is used.
While having two classes with the same name in the ancestry chain is confusing, this is also what MRI does. My phrasing around the term "anonymous" was ambiguous. Benoit's follow-up is accurate.
I tried reverting 7a224a5 and the sample code outputs the same result as with the commit present. It appears safe to revert.