Skip to content

Conversation

andrykonchin
Copy link
Member

Changes:

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]

@andrykonchin andrykonchin force-pushed the ak/add-specs-for-warning-about-not-used-block-argument branch from e92bbc0 to 1a6e881 Compare October 1, 2025 19:51
@andrykonchin andrykonchin merged commit 6267cc7 into master Oct 4, 2025
24 checks passed
@andrykonchin andrykonchin deleted the ak/add-specs-for-warning-about-not-used-block-argument branch October 4, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant