Skip to content

Commit d89e68b

Browse files
committed
Correct release note on frozen to_s in 2.7.0-preview3
Only changes to Symbol#to_s is reverted (bea322a352) and Module#name, true.to_s, false.to_s and nil.to_s are still frozen in preview3.
1 parent de267b3 commit d89e68b

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
@@ -231,11 +231,11 @@ The final decision is not made, but will be fixed by the official release.
231231

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

234-
* ~~`Symbol#to_s`, `Module#name`, `true.to_s`, `false.to_s`,
234+
* ~~`Symbol#to_s`~~ (reverted), `Module#name`, `true.to_s`, `false.to_s`,
235235
and `nil.to_s` now always return a frozen String.
236236
The returned String is always the same for a given object.
237237
[Experimental]
238-
[[Feature #16150]](https://bugs.ruby-lang.org/issues/16150)~~ reverted
238+
[[Feature #16150]](https://bugs.ruby-lang.org/issues/16150)
239239

240240
* The performance of `CGI.escapeHTML` is improved.
241241
[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
@@ -158,7 +158,7 @@ Ruby に添付されている REPL (Read-Eval-Print-Loop) である `irb` で、
158158

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

161-
* ~~`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)~~ 撤回されました
161+
* ~~`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)
162162

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

0 commit comments

Comments
 (0)