Skip to content

Commit 4ed5358

Browse files
authored
Merge pull request #2308 from hanazuki/2_7_0-preview3-frozen-to_s
Correct release note on frozen to_s in 2.7.0-preview3
2 parents 54aa71a + d89e68b commit 4ed5358

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

en/news/_posts/2019-11-23-ruby-2-7-0-preview3-released.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,11 @@ The final decision is not made, but will be fixed by the official release.
240240

241241
* The default value of `--jit-max-cache` is changed from 1,000 to 100.
242242

243-
* ~~`Symbol#to_s`, `Module#name`, `true.to_s`, `false.to_s`,
243+
* ~~`Symbol#to_s`~~ (reverted), `Module#name`, `true.to_s`, `false.to_s`,
244244
and `nil.to_s` now always return a frozen String.
245245
The returned String is always the same for a given object.
246246
[Experimental]
247-
[[Feature #16150]](https://bugs.ruby-lang.org/issues/16150)~~ reverted
247+
[[Feature #16150]](https://bugs.ruby-lang.org/issues/16150)
248248

249249
* The performance of `CGI.escapeHTML` is improved.
250250
[GH-2226](https://github.com/ruby/ruby/pull/2226)

ja/news/_posts/2019-11-23-ruby-2-7-0-preview3-released.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Ruby に添付されている REPL (Read-Eval-Print-Loop) である `irb` で、
167167

168168
* `--jit-max-cache` オプションのデフォルト値が 1,000 から 100 に変更されました。
169169

170-
* ~~`Symbol#to_s`, `Module#name`, `true.to_s`, `false.to_s` `nil.to_s` は常にfrozenな文字列を返すようになりました。返された文字列は常に同じオブジェクトとなります。 [Experimental] [[Feature #16150]](https://bugs.ruby-lang.org/issues/16150)~~ 撤回されました
170+
* ~~`Symbol#to_s`~~ (撤回されました), `Module#name`, `true.to_s`, `false.to_s` `nil.to_s` は常にfrozenな文字列を返すようになりました。返された文字列は常に同じオブジェクトとなります。 [Experimental] [[Feature #16150]](https://bugs.ruby-lang.org/issues/16150)
171171

172172
* `CGI.escapeHTML` のパフォーマンスが改善されました。 [GH-2226](https://github.com/ruby/ruby/pull/2226)
173173

0 commit comments

Comments
 (0)