summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 611956d337..22364b1047 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -384,6 +384,8 @@ details of the default gems or bundled gems.
* Passing a block to a method which doesn't use the passed block will show
a warning on verbose mode (`-w`).
+ In connection with this, a new `strict_unused_block` warning category was introduced.
+ Turn them on with `-W:strict_unused_block` or `Warning[:strict_unused_block] = true`.
[[Feature #15554]]
* Redefining some core methods that are specially optimized by the interpreter