Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
"str".freeze optimization sporadically produces a different object #5070
There's a newly-modified spec that tests
[The spec] looks like this:
it "produces the same object whenever called on an instance of a literal in the source" do "abc".freeze.should equal "abc".freeze end
And fails like this:
See #4970 for a related issue we believed we fixed in 9.1.16.