Skip to content

Commit eef4e8a

Browse files
kyanagihsbt
authored andcommitted
[DOC] Add Warning[:strict_unused_block] to NEWS
1 parent 5d97c14 commit eef4e8a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,8 @@ details of the default gems or bundled gems.
384384
385385
* Passing a block to a method which doesn't use the passed block will show
386386
a warning on verbose mode (`-w`).
387+
In connection with this, a new `strict_unused_block` warning category was introduced.
388+
Turn them on with `-W:strict_unused_block` or `Warning[:strict_unused_block] = true`.
387389
[[Feature #15554]]
388390

389391
* Redefining some core methods that are specially optimized by the interpreter

0 commit comments

Comments
 (0)