Skip to content

Suppress a warning from send_rubyfunc_block#505

Merged
k0kubun merged 2 commits intoruby:mainfrom
k0kubun:send-block-warning
Apr 3, 2026
Merged

Suppress a warning from send_rubyfunc_block#505
k0kubun merged 2 commits intoruby:mainfrom
k0kubun:send-block-warning

Conversation

@k0kubun
Copy link
Copy Markdown
Member

@k0kubun k0kubun commented Apr 3, 2026

This PR suppresses this warning in send_rubyfunc_block:

send_rubyfunc_block.rb:14: warning: the block passed to 'C#ruby_func' defined at send_rubyfunc_block.rb:4 may be ignored

Copy link
Copy Markdown
Contributor

@tekknolagi tekknolagi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing the warning 😓

Co-authored-by: Max Bernstein <max@bernsteinbear.com>
@k0kubun k0kubun enabled auto-merge (squash) April 3, 2026 18:54
@k0kubun k0kubun merged commit deafec7 into ruby:main Apr 3, 2026
11 checks passed
@k0kubun k0kubun deleted the send-block-warning branch April 3, 2026 19:47
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.

2 participants