Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore unused block warnings condition for Ruby 3.4 #51856

Merged
merged 1 commit into from
May 20, 2024

Conversation

yahonda
Copy link
Member

@yahonda yahonda commented May 17, 2024

Motivation / Background

This pull request restores the warning conditions not to ignore "the block passed to" warnings

Detail

ruby/ruby#10403 raised many "the block passed to" warnings. then idnored these warnings because some of them might have contain false positives.

Now we can restore the warning condition because these false positives should have been addressed by these changes:

ruby/ruby#10559
#51597
#51583

Additional information

None

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one change. Unrelated changes should be opened in separate PRs.
  • Commit message has a detailed description of what changed and why. If this PR fixes a related issue include it in the commit message. Ex: [Fix #issue-number]
  • Tests are added or updated if you fix a bug or add a feature.
  • CHANGELOG files are updated for the changed libraries if there is a behavior change or additional feature. Minor bug fixes and documentation changes should not be included.

ruby/ruby#10403 raised many "the block passed to" warnings.
then idnored these warnings because some of them might have contain false positives.

Now we can restore the warning condition
because these false positives should have been addressed by these changes:

ruby/ruby#10559
rails#51597
rails#51583
@yahonda yahonda force-pushed the restore_warning_condition_for_ruby34 branch from 0cb195c to cba2b2f Compare May 17, 2024 23:57
@yahonda yahonda merged commit 692f25a into rails:main May 20, 2024
3 checks passed
rafaelfranca pushed a commit that referenced this pull request May 21, 2024
…ruby34

Restore unused block warnings condition for Ruby 3.4
@yahonda
Copy link
Member Author

yahonda commented May 21, 2024

I had overlooked Active Job integration test warnings.
https://buildkite.com/rails/rails-nightly/builds/562#018f9cf5-397f-45f0-a806-4fb0acf2050d

@yahonda
Copy link
Member Author

yahonda commented May 27, 2024

Opened an issue with repro. #51926

@yahonda yahonda deleted the restore_warning_condition_for_ruby34 branch June 9, 2024 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant