Project

General

Profile

Actions

Bug #13282

closed

opt_str_freeze does not always dedupe

Added by normalperson (Eric Wong) about 7 years ago. Updated about 7 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
[ruby-core:79914]

Description

Attached is the same test extracted from test/ruby/test_optimization.rb
but it fails in a standalone context. Not sure why...

It's not a new breakage in trunk, either.

Testing with some old installs I had around, 2.1.9p490 seems fine,
however even Ruby 2.2.1 seems broken


Files

opt_str_freeze_not_always_effective.rb (251 Bytes) opt_str_freeze_not_always_effective.rb normalperson (Eric Wong), 03/05/2017 01:57 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0