summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-06-11 22:57:33 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-10 15:03:58 +0900
commit1b2d351b216661e03d497dfdce216e0d51474664 (patch)
tree4151ebb30b8789a9ee87afad79fb8c8a32481ae3 /NEWS.md
parentd94960f22ec2de3a3855305cb51343806d2b46c7 (diff)
Rightward-assign by ASSOC
[Feature #15921]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3012
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 7003c33284..d3ca3d9a7e 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -38,6 +38,12 @@ sufficient information, see the ChangeLog file or Redmine
instead of a warning. yield in a class definition outside of a method
is now a SyntaxError instead of a LocalJumpError. [[Feature #15575]]
+* Rightward assignment statement is added. [[Feature #15921]]
+
+ ```ruby
+ fib(10) => x
+ ```
+
## Command line options
## Core classes updates
@@ -170,5 +176,6 @@ Excluding feature bug fixes.
[Feature #16274]: https://bugs.ruby-lang.org/issues/16274
[Feature #16377]: https://bugs.ruby-lang.org/issues/16377
[Bug #12706]: https://bugs.ruby-lang.org/issues/12706
+[Feature #15921]: https://bugs.ruby-lang.org/issues/15921
[Feature #16555]: https://bugs.ruby-lang.org/issues/16555
[GH-2991]: https://github.com/ruby/ruby/pull/2991