[前][次][番号順一覧][スレッド一覧]

ruby-changes:64476

From: Marc-Andre <ko1@a...>
Date: Wed, 23 Dec 2020 03:48:33 +0900 (JST)
Subject: [ruby-changes:64476] 228fa3ac6e (master): NEWS: Mention deprecation warnings not being shown by default

https://git.ruby-lang.org/ruby.git/commit/?id=228fa3ac6e

From 228fa3ac6ec25eba5139674d04a74f07a34f2874 Mon Sep 17 00:00:00 2001
From: Marc-Andre Lafortune <github@m...>
Date: Tue, 22 Dec 2020 03:27:18 -0500
Subject: NEWS: Mention deprecation warnings not being shown by default


diff --git a/NEWS.md b/NEWS.md
index e86c710..595d28e 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -94,6 +94,10 @@ sufficient information, see the ChangeLog file or Redmine https://github.com/ruby/ruby/blob/trunk/NEWS.md#L94
     * {TypeProf}[rdoc-label:label-TypeProf] is experimentally bundled. It is a
       type analysis tool for Ruby programs.
 
+* Deprecation warnings are no longer shown by default (since Ruby 2.7.2).
+  Turn them on with `-W:deprecated` (or with `-w` to show other warnings too).
+  [[Feature #16345]]
+
 * $SAFE and $KCODE are now normal global variables with no special behavior.
   C-API methods related to $SAFE have been removed.
   [[Feature #16131]] [[Feature #17136]]
@@ -724,6 +728,7 @@ end https://github.com/ruby/ruby/blob/trunk/NEWS.md#L728
 [Feature #16233]: https://bugs.ruby-lang.org/issues/16233
 [Feature #16260]: https://bugs.ruby-lang.org/issues/16260
 [Feature #16274]: https://bugs.ruby-lang.org/issues/16274
+[Feature #16345]: https://bugs.ruby-lang.org/issues/16345
 [Feature #16377]: https://bugs.ruby-lang.org/issues/16377
 [Feature #16378]: https://bugs.ruby-lang.org/issues/16378
 [Feature #16555]: https://bugs.ruby-lang.org/issues/16555
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]