From fd329e24c511ce3ff0ed81fd9c88de6cfd5676a9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 28 Nov 2020 18:52:22 +0900 Subject: [PATCH] NEWS for [Feature #17136] [ci skip] --- NEWS.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NEWS.md b/NEWS.md index 9b48c54dae..5687c0a3a1 100644 --- a/NEWS.md +++ b/NEWS.md @@ -44,6 +44,10 @@ sufficient information, see the ChangeLog file or Redmine C-API methods related to $SAFE have been removed. [[Feature #16131]] +* $KCODE is now a normal global variable with no special behavior. No + warnings are emitted by access/assignment to it, and the assigned + value will be returned. [[Feature #17136]] + * yield in singleton class definitions in methods is now a SyntaxError instead of a warning. yield in a class definition outside of a method is now a SyntaxError instead of a LocalJumpError. [[Feature #15575]] @@ -627,6 +631,7 @@ end [Feature #17104]: https://bugs.ruby-lang.org/issues/17104 [Feature #17122]: https://bugs.ruby-lang.org/issues/17122 [Feature #17134]: https://bugs.ruby-lang.org/issues/17134 +[Feature #17136]: https://bugs.ruby-lang.org/issues/17136 [Feature #17176]: https://bugs.ruby-lang.org/issues/17176 [Feature #17260]: https://bugs.ruby-lang.org/issues/17260 [Feature #17260]: https://bugs.ruby-lang.org/issues/17260