diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2021-12-13 14:01:40 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2021-12-13 14:01:40 +0900 |
commit | 1da1d7473076aa1865d1fb31a1b03e72c7127d01 (patch) | |
tree | d1d7de1b47204c6bd046d6a0119572b2b07c81bb | |
parent | d463b407e6ca059316ed33c39970aa32903667fb (diff) |
NEWS.md: `def foo = puts "Hello"` is now allowed [Feature #17398]
-rw-r--r-- | NEWS.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -95,6 +95,11 @@ Note that each entry is kept to a minimum, see links for details. if ivars refer to shareable objects. [[Feature #17592]] +* A command syntax is allowed in endless method definition, i.e., + you can now write `def foo = puts "Hello"`. + Note that `private def foo = puts "Hello"` does not parse. + [[Feature #17398]] + ## Command line options ## Core classes updates @@ -495,6 +500,7 @@ See [the repository](https://github.com/ruby/error_highlight) in detail. [Feature #17312]: https://bugs.ruby-lang.org/issues/17312 [Feature #17327]: https://bugs.ruby-lang.org/issues/17327 [Feature #17370]: https://bugs.ruby-lang.org/issues/17370 +[Feature #17398]: https://bugs.ruby-lang.org/issues/17398 [Feature #17411]: https://bugs.ruby-lang.org/issues/17411 [Bug #17423]: https://bugs.ruby-lang.org/issues/17423 [Bug #17429]: https://bugs.ruby-lang.org/issues/17429 |