summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorMarc-Andre Lafortune <github@marc-andre.ca>2020-12-16 15:39:02 -0500
committerMarc-Andre Lafortune <github@marc-andre.ca>2020-12-23 11:50:33 -0500
commit8feb40f49a5862ba1a42a5d8d9e228e1a8883a29 (patch)
tree4d9a58d4a9e3751c32ab036c189b9ffbdc8793fb /NEWS.md
parent4a8ff22f0c9f8a7cd9a68f49523fa2573a4326e9 (diff)
Document shareable_constant_value and other magic constants [doc]
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index f273b8b5a3..f588a2107d 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -88,6 +88,10 @@ sufficient information, see the ChangeLog file or Redmine
* Interpolated String literals are no longer frozen when
`# frozen-string-literal: true` is used. [[Feature #17104]]
+* Magic comment `shareable_constant_value` added to freeze constants.
+ See {Magic Comments}[rdoc-ref:doc/syntax/comments.rdoc@Magic+Comments] for more details.
+ [[Feature #17273]]
+
* A {static analysis}[rdoc-label:label-Static+analysis] foundation is
introduced.
* {RBS}[rdoc-label:label-RBS] is introduced. It is a type definition
@@ -757,6 +761,7 @@ end
[Feature #17187]: https://bugs.ruby-lang.org/issues/17187
[Bug #17221]: https://bugs.ruby-lang.org/issues/17221
[Feature #17260]: https://bugs.ruby-lang.org/issues/17260
+[Feature #17273]: https://bugs.ruby-lang.org/issues/17273
[Feature #17303]: https://bugs.ruby-lang.org/issues/17303
[Feature #17314]: https://bugs.ruby-lang.org/issues/17314
[Feature #17322]: https://bugs.ruby-lang.org/issues/17322