[DOC] Add Warning[:strict_unused_block] to NEWS
This commit is contained in:
parent
5d97c14fec
commit
eef4e8a2c8
Notes:
git
2024-12-16 07:57:51 +00:00
2
NEWS.md
2
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user