[ruby-core:79914] [Ruby trunk Bug#13282] opt_str_freeze does not always dedupe

From: normalperson@...
Date: 2017-03-05 01:57:19 UTC
List: ruby-core #79914
Issue #13282 has been reported by Eric Wong.

----------------------------------------
Bug #13282: opt_str_freeze does not always dedupe
https://bugs.ruby-lang.org/issues/13282

* Author: Eric Wong
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.2: REQUIRED, 2.3: REQUIRED, 2.4: REQUIRED
----------------------------------------
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)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next